[Haskell-cafe] Functions are first class values in C

Miguel Mitrofanov miguelimo38 at yandex.ru
Sat Dec 22 09:26:18 EST 2007


> Lazy constant in C:
>
> int C1 (){
> 	return 7;
> }
> C1 is computed only when you apply the operator () to it.

But that's not the point of lazyness. Lazy value is computed only ONCE.


More information about the Haskell-Cafe mailing list