
19 Mar
2010
19 Mar
'10
6:27 a.m.
国平张 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 | jochem@functor.nl