Changeset 3148

Show
Ignore:
Timestamp:
05/13/05 14:43:34 (4 years ago)
Author:
autrijus
svk:copy_cache_prev:
4718
Message:

* minor cleanup.

Files:
2 modified

Legend:

Unmodified
Added
Removed
  • Makefile.PL

    r3147 r3148  
    200200        haddock -t Pugs-$version -h -o docs/haddock/ @hppfiles 
    201201        \@\$(RM_F) @{[map "$_.pre", @hppfiles]} @hppfiles 
    202         \@\$(PERL) -le "print and print q-*** API Documentation generated in @{[File::Spec->catfile('docs', 'haddock', 'index.html')]}.-" 
     202        \@\$(PERL) -le "print and print q-*** API Documentation generated in @{[File::Spec->catfile('docs', 'haddock', 'index.html')]}-" 
    203203 
    204204docs/haddock : 
  • src/Pugs/Monads.hs

    r3144 r3148  
    22 
    33{-| 
    4     Monad structures. 
     4    Common operations on Eval monad. 
    55     
    6     Note that there aren't actually any monads defined here--try looking in 
    7     "Pugs.AST.SIO" and "Pugs.AST.Internals". 
    8  
    96>   One Ring to rule them all, 
    107>   One Ring to find them, 
     
    1916import Pugs.Types 
    2017 
    21 headVal :: [Val] -> Eval Val 
    22 headVal []    = retEmpty 
    23 headVal (v:_) = return v 
     18{-| 
     19    Note that the actual monads are defined elsewhere -- try looking at 
     20    "Pugs.AST.SIO" and "Pugs.AST.Internals". 
     21-} 
    2422 
    2523-- |Perform the specified evaluation in a lexical scope that has been 
     
    188186        _ -> do 
    189187            return val 
     188 
     189headVal :: [Val] -> Eval Val 
     190headVal []    = retEmpty 
     191headVal (v:_) = return v 
     192