[Haskell-cafe] simple parsing

Svein Ove Aas svein.ove at aas.no
Tue Oct 27 19:04:43 EDT 2009


On Tue, Oct 27, 2009 at 11:38 PM, satorisanitarium
<satorisanitarium at gmail.com> wrote:
> I'm trying to parse a list of numbers plus four diferent signs (+-*/)
> in this way:
>
*snip*
> I suspect my approach is flawed but i have exausted my ideas.
> I need  a fresh approach so if anybody would be kind enough and just
> give me a hint how to approach the problem.
>
To begin with, try using the Parsec parser-combinator library instead
of writing your own from scratch?


-- 
Svein Ove Aas


More information about the Haskell-Cafe mailing list