
#12970: Add default implementation for Bits.bitSize -------------------------------------+------------------------------------- Reporter: txnull | Owner: Type: feature request | Status: upstream Priority: normal | Milestone: Component: libraries/base | Version: Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by hvr): it may make sense to also consider a DefaultSignature-based default impl for `bitSizeMaybe` inheriting from `FiniteBits(finiteBitSize)` -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/12970#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler