Skip to content
Snippets Groups Projects
Commit bb523f51 authored by Ross Paterson's avatar Ross Paterson
Browse files

extend 'deriving' heuristic a little

If an argument of a data constructor has a type variable head, it is
irreducible and the same type class can be copied into the constraint.
(Formerly we just did this for type variable arguments.)
parent 34a994d6
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment