
5 Nov
2009
5 Nov
'09
9:15 p.m.
On Nov 5, 2009, at 8:26 AM, Jason Dagit wrote:
Haskell knows when I have a list of Doubles, you know, because it's strongly typed.
Then it proceeds to box them. Huh ?
Imagine a computation which will yield a Double if evaluated, but has not yet been evaluated. How do you store that in the list?
So laziness is causing the boxing to be necessary ?