Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

referential transparency

Name: Anonymous 2009-02-04 13:50

Is is actually useful somehow in a programming language?

Name: Anonymous 2009-02-04 13:56

Yes. For example, Haskell's STM monad disallows performing IO within a transaction, meaning it can be safely retried without the risk of IO being performed again. (Except, of course, for unsafePerformIO, but at least it's then obvious that it's doing naughty things.)

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List