Re: Storable instance of () is broken
Kim-Ee Yeoh <[email protected]> Wed, 5 Jan 2022 22:23:48 +0700
| Newsgroups | gmane.comp.lang.haskell.libraries |
|---|---|
| Message-ID | <CAPY+ZdTLz0GmKjL31BvOLL_Buh6wk2gJY+znOxy+GfCTPKi88A@mail.gmail.com> |
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 <[email protected]> wrote: > On Wed, 5 Jan 2022 at 20:06, Kim-Ee Yeoh <[email protected]> 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 _______________________________________________ Libraries mailing list [email protected] http://mail.haskell.org/cgi-bin/mailman/listinfo/libraries