Skip to content

Instantly share code, notes, and snippets.

@LeifW
Created June 5, 2016 06:34
Show Gist options
  • Select an option

  • Save LeifW/850cf493009ddcf70aec5ffa6116b826 to your computer and use it in GitHub Desktop.

Select an option

Save LeifW/850cf493009ddcf70aec5ffa6116b826 to your computer and use it in GitHub Desktop.
Error trying to compile lamba-except on ghc 8.
AST.hs:92:15: error:
• No instance for (Data.Functor.Classes.Eq1 Expr)
arising from the third field of ‘Module’ (type ‘Decls a’)
Possible fix:
use a standalone 'deriving instance' declaration,
so you can specify the instance context yourself
• When deriving the instance for (Eq (Module a))
AST.hs:92:35: error:
• No instance for (Data.Functor.Classes.Ord1 Expr)
arising from the third field of ‘Module’ (type ‘Decls a’)
Possible fix:
use a standalone 'deriving instance' declaration,
so you can specify the instance context yourself
• When deriving the instance for (Ord (Module a))
AST.hs:92:39: error:
• No instance for (Data.Functor.Classes.Show1 Expr)
arising from the third field of ‘Module’ (type ‘Decls a’)
Possible fix:
use a standalone 'deriving instance' declaration,
so you can specify the instance context yourself
• When deriving the instance for (Show (Module a))
AST.hs:108:30: error:
• No instance for (Data.Functor.Classes.Ord1 Expr)
arising from the third field of ‘Lambda’
(type ‘Scope (Named ()) Expr a’)
Possible fix:
use a standalone 'deriving instance' declaration,
so you can specify the instance context yourself
• When deriving the instance for (Ord (Expr a))
AST.hs:108:34: error:
• No instance for (Data.Functor.Classes.Show1 Expr)
arising from the third field of ‘Lambda’
(type ‘Scope (Named ()) Expr a’)
Possible fix:
use a standalone 'deriving instance' declaration,
so you can specify the instance context yourself
• When deriving the instance for (Show (Expr a))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment