caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* [Caml-list] Purity and lazyness
@ 2011-01-07 15:35 Dario Teixeira
  2011-01-07 16:07 ` Damien Doligez
                   ` (3 more replies)
  0 siblings, 4 replies; 24+ messages in thread
From: Dario Teixeira @ 2011-01-07 15:35 UTC (permalink / raw)
  To: caml-list

Hi,

I have a question which though not strictly Ocaml-centric, I reckon is
not completely off-topic for this list.

In presentations by Haskellers, lazyness and purity are often portrayed as
going hand in hand.  Now, I can see why a language which is lazy by default
would also need to be pure, since side-effects would be indeed very messy 
if evaluation order is not predictable.  However, I cannot see the converse,
that is, I don't see why purity would require lazyness. 

So, my question is whether there is something I'm missing and in fact "purity 
<=> lazyness", or I am reading too much from those Haskeller presentations,
because they never meant to say anything beyond "lazyness => purity", and
freely mixing the two was just a casual oversight.

Your thoughts?
Best regards,
Dario Teixeira



      


^ permalink raw reply	[flat|nested] 24+ messages in thread

end of thread, other threads:[~2011-01-10  6:27 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-01-07 15:35 [Caml-list] Purity and lazyness Dario Teixeira
2011-01-07 16:07 ` Damien Doligez
2011-01-07 16:38   ` David Rajchenbach-Teller
2011-01-07 18:16     ` Holger Weiß
2011-01-07 20:22     ` Eray Ozkural
2011-01-07 20:29       ` orbitz
2011-01-07 20:30         ` Joel Reymont
2011-01-07 20:33         ` Eray Ozkural
2011-01-08  9:44     ` Jesper Louis Andersen
2011-01-07 17:21 ` Alain Frisch
2011-01-07 17:46   ` Christophe Raffalli
2011-01-07 18:11 ` Holger Weiß
2011-01-07 18:52   ` Brian Hurt
2011-01-07 19:32     ` Petter Urkedal
2011-01-07 20:25     ` Eray Ozkural
2011-01-09 16:11     ` Jon Harrop
2011-01-10  6:27       ` Eray Ozkural
2011-01-07 19:17 ` Florian Weimer
     [not found]   ` <AANLkTikxCSQ+0XkOmSVDb3EWq_2oQ0pac3bDgc7f7jq+@mail.gmail.com>
2011-01-07 20:52     ` bluestorm
2011-01-09 16:15       ` Jon Harrop
2011-01-08  0:26   ` Elias Gabriel Amaral da Silva
2011-01-08  9:28     ` Christophe Raffalli
2011-01-08 22:47     ` Florian Weimer
2011-01-09 10:00       ` Petter Urkedal

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).