Storable instance of () is broken

Kim-Ee Yeoh ky3 at atamo.com
Wed Jan 5 15:23:48 UTC 2022


One way to make rapid progress is to adopt the approach that Henning took.

Is Storable that large and/or so frequently updated a library that you
cannot create your own variant of it?

On Wed, Jan 5, 2022 at 9:51 PM Harendra Kumar <harendra.kumar at gmail.com>
wrote:

> On Wed, 5 Jan 2022 at 20:06, Kim-Ee Yeoh <ky3 at atamo.com> wrote:
> > You’ve made good points in your posts.
> >
> > Worth to keep in mind that the number of bits needed to distinguish
> between n things is log2 n.
> >
> > The log of 1 is 0.
>
> Exactly. And that is why we should not have a Storable instance for ().
>
> -harendra
>
-- 
-- Kim-Ee
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/libraries/attachments/20220105/f6960b8e/attachment.html>


More information about the Libraries mailing list