[Haskell-cafe] What can be UNPACK'ed?

Brandon Allbery allbery.b at gmail.com
Sun Jul 30 20:31:36 UTC 2017


On Sun, Jul 30, 2017 at 5:29 PM, <amindfv at gmail.com> wrote:
>
> >  Technically it could be possible to reserve enough
> > space in Foo to store either a [] or a (:) Float [Float].
>
> What if it's an infinite list? Do you just want to unpack the first cons
> and not the whole list?


Isn't the example exactly the first of those?

-- 
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://mail.haskell.org/pipermail/haskell-cafe/attachments/20170730/cafdb321/attachment.html>


More information about the Haskell-Cafe mailing list