Add instance Storable Ordering

Henning Thielemann lemming at henning-thielemann.de
Tue Oct 8 15:49:04 UTC 2019


On Tue, 8 Oct 2019, David Feuer wrote:

> newtype WrappedEnum a = WrappedEnum a
> instance Enum a => Storable (WrappedEnum a) where
>   ...

That's almost what I recently defined in a custom package:
    https://hub.darcs.net/thielema/storable-enum/browse/src/Data/Enum/Storable.hs

But I also let the user choose the underlying machine type.


More information about the Libraries mailing list