Changeset 3148
- Timestamp:
- 05/13/05 14:43:34 (4 years ago)
- svk:copy_cache_prev:
- 4718
- Files:
-
- 2 modified
-
Makefile.PL (modified) (1 diff)
-
src/Pugs/Monads.hs (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
Makefile.PL
r3147 r3148 200 200 haddock -t Pugs-$version -h -o docs/haddock/ @hppfiles 201 201 \@\$(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')]}-" 203 203 204 204 docs/haddock : -
src/Pugs/Monads.hs
r3144 r3148 2 2 3 3 {-| 4 Monad structures.4 Common operations on Eval monad. 5 5 6 Note that there aren't actually any monads defined here--try looking in7 "Pugs.AST.SIO" and "Pugs.AST.Internals".8 9 6 > One Ring to rule them all, 10 7 > One Ring to find them, … … 19 16 import Pugs.Types 20 17 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 -} 24 22 25 23 -- |Perform the specified evaluation in a lexical scope that has been … … 188 186 _ -> do 189 187 return val 188 189 headVal :: [Val] -> Eval Val 190 headVal [] = retEmpty 191 headVal (v:_) = return v 192
