Ivan Lazar Miljenovic <ivan.miljeno...@gmail.com> wrote:

> No, a pure function is one without any side effects.

There are no functions with side effects in Haskell, unless you use
hacks like unsafePerformIO.  Every Haskell function is perfectly
referentially transparent, i.e. pure.


Greets,
Ertugrul


-- 
nightmare = unsafePerformIO (getWrongWife >>= sex)
http://ertes.de/


_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to