
Can you give an example? GHC has no specific code for Bits as far as I know. Perhaps you are using GeneralisedNewtypeDeriving? You don't give enough context to say. Simon | -----Original Message----- | From: ghc-devs [mailto:ghc-devs-bounces@haskell.org] On Behalf Of Kazu | Yamamoto | Sent: 03 September 2014 06:48 | To: ghc-devs@haskell.org | Subject: deriving Bits | | Hi, | | Recently, I found that we can put Bits in "deriving". I checked the | GHC manual but it seems to me that this page does not cover Bits: | | https://www.haskell.org/ghc/docs/7.8.3/html/users_guide/deriving.h | tml | | Are there any other classes which can be automatically derived and are | not listed in this page? | | If the number of such classes is not large, how about adding them to | this page? | | --Kazu | _______________________________________________ | ghc-devs mailing list | ghc-devs@haskell.org | http://www.haskell.org/mailman/listinfo/ghc-devs