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

Cristian Baboi cristian.baboi at gmail.com
Sat Dec 29 05:52:28 EST 2007

On Sat, 29 Dec 2007 01:42:54 +0200, Jonathan Cast  
<jonathanccast at fastmail.fm> wrote:

>>> Here is how I want print to be in Haskell
>>> print :: (a->b) -> (a->b)
>>> with print = id, but the following "side effect":
>>> - I want to call the print function today, and get the value tomorrow.
> Sorry, simply couldn't resist:

> Put a very long timing loop in the middle.

Well, that kind of loop won't work.

More information about the Haskell-Cafe mailing list