Skip to content

Instantly share code, notes, and snippets.

@spockz
Created October 4, 2010 22:04
Show Gist options
  • Save spockz/610540 to your computer and use it in GitHub Desktop.
Save spockz/610540 to your computer and use it in GitHub Desktop.
Ass2.lhs:236:13:
Couldn't match expected type `a1'
against inferred type `And
True (And (IsBounded (Ins.Var Int Ins.:*: Ins.Rec a)) False)'
`a1' is a rigid type variable bound by
the type signature for `gminBound'' at Ass2.lhs:235:33
NB: `And' is a type function, and may not be injective
In the expression:
undefined ::
IsBounded (Ins.U Ins.:+: ((Ins.Var Int) Ins.:*: (Ins.Rec a)))
In the definition of `gminBound'':
gminBound' = undefined ::
IsBounded (Ins.U Ins.:+: ((Ins.Var Int) Ins.:*: (Ins.Rec a)))
@spockz
Copy link
Author

spockz commented Oct 4, 2010

ss2.lhs:237:13:
Couldn't match expected type a' against inferred typeFalse'
a' is a rigid type variable bound by the type signature forgminBound'' at Ass2.lhs:236:33
In the expression:
undefined ::
IsBounded (Ins.U Ins.:+: ((Ins.Var Int) Ins.:: (Ins.Rec a)))
In the definition of `gminBound'':
gminBound' = undefined ::
IsBounded (Ins.U Ins.:+: ((Ins.Var Int) Ins.:
: (Ins.Rec a)))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment