That explains it, thank you!
On Sat, Sep 12, 2015 at 9:15 PM, Sevcsik András <sevcsik@gmail.com> wrote:How it's decided what type should Aeson try to decode to? What type is that gives me Nothing on whatever JSON input I give?_______________________________________________ghci has ExtendedDefaultRules enabled, which means that many things will infer a type of () if one cannot otherwise be determined. This is not something Aeson has control over.Try ":seti -XNoExtendedDefaultRules" and ask ghci again; it should produce an ambiguous type error.--brandon s allbery kf8nh sine nomine associatesunix, openafs, kerberos, infrastructure, xmonad http://sinenomine.net
Beginners mailing list
Beginners@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners