Changeset 3724 for src/Main.hs

Show
Ignore:
Timestamp:
05/23/05 13:09:12 (4 years ago)
Author:
scook0
svk:copy_cache_prev:
5313
Message:

* Some non-toplevel function type signatures (for readability)
* Minor tweaks to Haddocks

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • src/Main.hs

    r3675 r3724  
    3232import Data.IORef 
    3333 
    34 -- |Pugs' entry point. Uses 'Pugs.Run.runWithArgs' to normalise the command-line 
    35 -- arguments and pass them to 'run'. 
     34{-| 
     35Pugs' entry point. Uses 'Pugs.Run.runWithArgs' to normalise the command-line 
     36arguments and pass them to 'run'. 
     37-} 
    3638main :: IO () 
    3739main = do 
     
    135137            CmdReset          -> tabulaRasa >>= (liftSTM . writeTVar env) >> loop 
    136138 
    137 -- |Create a \'blank\' 'Env' for our program to execute in. Of course, 
    138 -- 'prepareEnv' actually declares quite a few symbols in the environment, 
    139 -- e.g. \'\@\*ARGS\', \'\$\*PID\', \'\$\*ERR\' etc. 
    140 -- ('Tabula rasa' is Latin for 'a blank slate'.) 
     139{-| 
     140Create a \'blank\' 'Env' for our program to execute in. Of course, 
     141'prepareEnv' actually declares quite a few symbols in the environment, 
     142e.g. \'\@\*ARGS\', \'\$\*PID\', \'\$\*ERR\' etc. 
     143 
     144('Tabula rasa' is Latin for 'a blank slate'.) 
     145-} 
    141146tabulaRasa :: IO Env 
    142147tabulaRasa = prepareEnv "<interactive>" []