#7204: Use a class to control FFI marshalling
---------------------------------+------------------------------------------
Reporter: simonpj | Owner:
Type: feature request | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 7.4.2
Keywords: | Os: Unknown/Multiple
Architecture: Unknown/Multiple | Failure: None/Unknown
Difficulty: Unknown | Testcase:
Blockedby: | Blocking:
Related: |
---------------------------------+------------------------------------------
Comment(by illissius):
Newtype deriving doesn't currently work on classes with ATs:
{{{{
test231.hs:19:35:
Can't make a derived instance of `Marshal (Age a)'
(even with cunning newtype deriving):
the class has associated types
In the newtype declaration for `Age'
}}}
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/7204#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs