Permalink
Browse files

* Pugs.Eval -- Silenced a warning about an unused parameter.

* Pugs.Parser -- Extremely minor cosmetical fix.
* READTHEM -- Added my favourite Monad tutorial :)



git-svn-id: http://svn.pugscode.org/pugs@4457 c213334d-75ef-0310-aa23-eaa082d1ae64
  • Loading branch information...
1 parent 11b7f10 commit 9882b8e2d05ddf7dfe063a0b235a685b24494f30 @iblech iblech committed Jun 8, 2005
Showing with 4 additions and 2 deletions.
  1. +2 −0 READTHEM
  2. +1 −1 src/Pugs/Eval.hs
  3. +1 −1 src/Pugs/Parser.hs
View
@@ -29,6 +29,8 @@ Haskell Mini-Primer (this covers infix $ and . operators)
<http://conal.net/pan/haskell-primer.htm>
Harrorth - A implemenation journal for a haskell project in tutorial format
<http://feather.perl6.nl/~nothingmuch/harrorth/>
+All About Monads - Jeff Newbern
+ <http://www.nomaware.com/monads/html/index.html>
= Perl 6 books (always outdated :))
View
@@ -242,7 +242,7 @@ findVarRef name
vref <- liftSTM (readTVar tvref)
let val = VRef vref
return (key, val)
- padEntryToHashEntry (key, []) = do fail "Nonexistant var in pad?"
+ padEntryToHashEntry (_, []) = do fail "Nonexistant var in pad?"
doFindVarRef :: Var -> Eval (Maybe (TVar VRef))
doFindVarRef name = do
callCC $ \foundIt -> do
View
@@ -982,7 +982,7 @@ parseOpWith :: (DynParsers -> RuleParser Exp) -> RuleParser Exp
parseOpWith f = do
state <- getState
case ruleDynParsers state of
- MkDynParsersEmpty -> refillCache state f
+ MkDynParsersEmpty -> refillCache state f
p -> f p
where
refillCache state f = do

0 comments on commit 9882b8e

Please sign in to comment.