Where is stg_eqWord32 defined?

Johan Tibell johan.tibell at gmail.com
Tue Aug 23 16:23:55 CEST 2011


On Tue, Aug 23, 2011 at 3:40 PM, Johan Tibell <johan.tibell at gmail.com> wrote:
> Hi,
>
> I'm trying to add a method to Data.Bits, which requires that I
> implement versions for 16 and 32-bit platforms. I was trying to find
> some examples to model my code on and randomly picked (==) for Word32.
> (==) for Word32 is implemented in terms of stg_eqWord32, but I cannot
> find that function defined anywhere. I assume it's generated somehow.
> Where should I look?

Someone pointed out that we might not support 16-bit anymore. Can I
just skip implementing this for 16-bit and only add the
64-bit-for-32-bit implementations (like we do for other Word64# ops on
32-bit).

Johan



More information about the Glasgow-haskell-users mailing list