Simon Peyton-Jones wrote:
> can you give an example?
Certainly. This comes from the bloomfilter package on Hackage.
type Hash = Word32
data MBloom s a = MB {
hashMB :: {-# UNPACK #-} !(a -> [Hash])
, shiftMB :: {-# UNPACK #-} !Int
, maskMB :: {-# UNPACK #-} !Int
, bitArrayMB :
kell-users@haskell.org
| Subject: Re: Record syntax and INLINE annotations
|
| is it trac bug #2070, http://hackage.haskell.org/trac/ghc/ticket/2070
| (fixed in 6.9?)
|
| -Isaac
|
|
|
| Simon Peyton-Jones wrote:
| > can you give an example? GHC should inline selectors, whether exported or
| not, whene
is it trac bug #2070, http://hackage.haskell.org/trac/ghc/ticket/2070
(fixed in 6.9?)
-Isaac
Simon Peyton-Jones wrote:
can you give an example? GHC should inline selectors, whether exported or not,
whenever it'd help. They are implicitly defined as INLINE. Since this
obviously isn’t work
can you give an example? GHC should inline selectors, whether exported or not,
whenever it'd help. They are implicitly defined as INLINE. Since this
obviously isn’t working right, I'd like to see the code. Perhaps you can boil
it down a little, and submit a ticket?
Simon
| -Original Me