Created
July 12, 2018 18:14
-
-
Save LeifW/f3e51437f4494eff9d7c23355f268ef7 to your computer and use it in GitHub Desktop.
Aeson ambiguous instance
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{-# LANGUAGE OverloadedStrings #-} | |
import Data.Aeson | |
thing = object [ "foo" .= "bar" ] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Gives:
And yet it works fine in the repl: