Re: [Haskell-beginners] How to override a type class instance ?

18 Oct
2014
18 Oct
'14
11:06 a.m.
You usually wrap the data type in a newtype and use GeneralizedNewtypeDeriving to derive the classes you want to keep. Then write custom instances for the type classes you want to override.
thank you very much, this worked! Best regards Johannes
3866
Age (days ago)
3866
Last active (days ago)
0 comments
1 participants
participants (1)
-
Johannes Joachim Engels