An error occurred while fetching the assigned iteration of the selected issue.
TypeSynonymInstances with partial type
TypeSynonymInstances allow only full synonyms. With
{-# LANGUAGE TypeSynonymInstances #-}
type RTuple b a = (a, b)
instance Monad (RTuple b) where ...
-- or
instance Monad (RTuple b :: * -> *) where ...
I got next error:
test.hs:17:22:
Type synonym `RevTuple' should have 2 arguments, but has been given 1
In the instance declaration for `Monad (RTuple b :: * -> *)'
Trac metadata
Trac field | Value |
---|---|
Version | 7.6.3 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | Compiler |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | |
Architecture |