sdiehl / write-you-a-haskell

Building a modern functional compiler from first principles. (http://dev.stephendiehl.com/fun/)
MIT License
3.34k stars 256 forks source link

Chapter 7. Fix issue #34. Parsing function application. #90

Closed jeffreyrosenbluth closed 7 years ago

jeffreyrosenbluth commented 7 years ago

Perhaps even simpler is to use: Infix (App <$ reservedOp "") AssocLeft A trick a saw in: http://ozark.hendrix.edu/~yorgey/360/f16/modules/12-untyped-lc.html