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:[email protected]] On Behalf Of Kazu | Yamamoto | Sent: 03 September 2014 06:48 | To: [email protected] | 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 | [email protected] | http://www.haskell.org/mailman/listinfo/ghc-devs _______________________________________________ ghc-devs mailing list [email protected] http://www.haskell.org/mailman/listinfo/ghc-devs
