cc001.hs:5:
Ambiguous type variable(s) `t' in the constraint `CCallable t'
arising from an argument in the _ccall_ to `foo', namely `(undefined ())' at cc001.hs:5
- In the right-hand side of a pattern binding:
+ In the right-hand side of an equation for `f':
_ccall_ foo (undefined ())
Compilation had errors
cc002.hs:10:
No instance for `CReturnable ForeignObj'
arising from the result of the _ccall_ to `a' at cc002.hs:10
- In the right-hand side of a pattern binding: _ccall_ a
+ In the right-hand side of an equation for `a': _ccall_ a
Compilation had errors