On Fri, 28 Dec 2007 16:10:15 +0200, Jules Bean <[EMAIL PROTECTED]> wrote:

It won't work because haskell functions can't have side-effects.

I'm not quite sure what you're trying to say here.

Jules


What I am trying to say is:
- storing something to disk does not mean one must have a function to convert that something to a Haskell String - I want to be able to use a function defined in one process in other process even if the two does not run at the same time


Cristian Baboi wrote:
But I guess it won't work because the compiler will optimize it and the call will disappear. On Fri, 28 Dec 2007 14:58:53 +0200, Cristian Baboi <[EMAIL PROTECTED]> 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.


  ________ Information from NOD32 ________
This message was checked by NOD32 Antivirus System for Linux Mail Servers.
 part000.txt - is OK
http://www.eset.com
_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe



________ Information from NOD32 ________
This message was checked by NOD32 Antivirus System for Linux Mail Servers.
  part000.txt - is OK
http://www.eset.com




________ Information from NOD32 ________
This message was checked by NOD32 Antivirus System for Linux Mail Servers.
 part000.txt - is OK
http://www.eset.com
_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to