[Haskell-cafe] Bad interaction of inlinePerformIO and mutable vectors

Brandon Allbery allbery.b at gmail.com
Sun Aug 3 13:41:07 UTC 2014


On Sun, Aug 3, 2014 at 2:58 AM, David Feuer <david.feuer at gmail.com> wrote:

> I'm
> not even sure why they're called that, but what they *really* are is a
> mechanism for functions to return multiple values
>

They are unboxed in a way similar to the way the others are: no constructor
in their internal representation. They *do* have an extra level of
indirection still, just not the constructor cell that normally goes with
it. (This is also why historically their use in GHC has been rather
restricted.)

-- 
brandon s allbery kf8nh                               sine nomine associates
allbery.b at gmail.com                                  ballbery at sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20140803/f38efe35/attachment.html>


More information about the Haskell-Cafe mailing list