migamake / json-autotype

Automatic Haskell type inference from JSON input
150 stars 23 forks source link

Parser code typo? #27

Closed dbaynard closed 4 years ago

dbaynard commented 5 years ago

Hello,

It looks like there's a typo here, and the text err should actually be one of the err values (one of which shadows the other; presumably the second should take preference, if they're even different, so that is ok).

https://github.com/mgajda/json-autotype/blob/3bc007813a2f6a75ff50a2f6d3a3a9f9e75bb9b5/json-autotype/src/Data/Aeson/AutoType/CodeGen/Haskell.hs#L68-L70

Thanks!