Skip to content

Instantly share code, notes, and snippets.

@joshcough
Created May 26, 2015 04:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save joshcough/a03846a49e5238896177 to your computer and use it in GitHub Desktop.
Save joshcough/a03846a49e5238896177 to your computer and use it in GitHub Desktop.
src/L/ReplTools.hs:70:39:
Could not deduce (Show y) arising from a use of ‘Constrained’
from the context (FromSExpr i, Show i, Show o)
bound by the type signature for
f :: (FromSExpr i, Show i, Show o) => Compiler i o -> IO ()
at src/L/ReplTools.hs:69:8-61
Possible fix:
add (Show y) to the context of
a type expected by the context:
Compiler1 x y -> (:=>) Show Compiler1 x y
or the type signature for
f :: (FromSExpr i, Show i, Show o) => Compiler i o -> IO ()
In the first argument of ‘mapThrist’, namely ‘Constrained’
In the first argument of ‘compileTurtlesFile’, namely
‘(mapThrist Constrained c)’
In the expression:
compileTurtlesFile (mapThrist Constrained c) opts inputFile
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment