sdiehl / write-you-a-haskell

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

Addition does not work in poly #110

Open andrewthad opened 4 years ago

andrewthad commented 4 years ago
poly> 1 + 5
Cannot unify types:
        Int
with
        Int -> a

I think that the plus operator is not parsed correctly.