国平张 wrote:
> Sorry :-). I am using Hugs, anything I did wrong ?
> ------------------------------------------------------------------------------------------------

> item :: Parser Char
> item = Parser (\inp -> case inp of

^^^ the second "Parser" should be a P, which is a data constructor.

Cheers, Jochem

-- 
Jochem Berndsen | joc...@functor.nl
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to