[Haskell-cafe] instance MonadFix GenParser

Paul Johnson paul at cogito.org.uk
Sun Feb 22 05:43:30 EST 2009


Oops.  The last code sample should have been

 >   parseDeclarations :: Parser [Declaration]
 >   parseDeclarations = mdo
 >      decls <- many ParseDeclaration symbols
 >      let symbols = makeSymbolTable decls
 >      return decls


More information about the Haskell-Cafe mailing list