{-# OPTIONS_GHC -fglasgow-exts -cpp #-} {-| Version information. > Tree and flower and leaf and grass, > Let them pass! Let them pass! > Hill and water under sky, > Pass them by! Pass them by! -} -- #include "pugs_config.h" -- #include "pugs_version.h" #ifndef PUGS_VERSION #define PUGS_VERSION "6.2.13.20111008" #endif #ifndef PUGS_DATE #define PUGS_DATE "October 8, 2011" #endif #ifndef PUGS_SVN_REVISION #define PUGS_SVN_REVISION 0 #endif module Pugs.Version ( name, versnum, date, version, copyright, revnum, revision, ) where name, versnum, date, version, copyright, revnum, revision :: String name = "Perl6 User's Golfing System" versnum = PUGS_VERSION date = PUGS_DATE version = name ++ ", version " ++ versnum ++ ", " ++ date ++ revision copyright = "Copyright 2005-2011, The Pugs Contributors" revnum = show (PUGS_SVN_REVISION :: Integer) revision | rev <- revnum , rev /= "0" = " (r" ++ rev ++ ")" | otherwise = ""