Proposal: Move primitive-Data.Primitive.Addr API into base
Sven Panne
svenpanne at gmail.com
Fri Oct 26 20:38:29 UTC 2018
Am Fr., 26. Okt. 2018 um 22:31 Uhr schrieb Andrew Martin <
andrew.thaddeus at gmail.com>:
> The better alternative suggested in this thread is to use Addr instead.
> That way, you don't have to lie about the type of the serialized data that
> the pointer is pointing to.
>
Even if I'm repeating myself: That is not lying, quite the opposite. If you
e.g. use a C library with suboptimal typing (i.e. more often than not), you
make the impedance matching explicit. How would you achieve that with Addr?
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/libraries/attachments/20181026/65cfbb95/attachment.html>
More information about the Libraries
mailing list