Parsec - Haskell

Welcome to the Functional Programming Zulip Chat Archive. You can join the chat here.

Sandy Maguire

How do i parse Haskell-style function application? The left-recursiveness of it is doing my head in

gilmi

With significant indentation you mean?

Sandy Maguire

f a b c -> (((f a) b) c)

gilmi

What about parsing a list and folding it with App?

Sandy Maguire

i think that might be the trick

Sandy Maguire

that nailed it. not sure why i didn't think of that

gilmi

This is why we have a community :)