[Haskell-cafe] Re: Wikipedia on first-class object

Miguel Mitrofanov miguelimo38 at yandex.ru
Fri Dec 28 08:29:00 EST 2007


> >> take 5 [1,2,3,4,5,undefined]
> (What would GHCi print?

[1,2,3,4,5]

> Then please square that with your comment that we don't care how much of  
> the list gets evaluated.)

I don't care if it evaluates it, reads it's answer from some internal table, or consult it's lawyer. I just want it to agree with my reasoning about complete partial orders; that's all I need. I don't know how to explain this clearer.


More information about the Haskell-Cafe mailing list