No, there is no language-level distinction between pure functions and
functions which perform side effects. In practice, it is a good idea to
keep them separate.
-S
On Tuesday, August 7, 2012 9:37:31 AM UTC-4, centaurian_slug wrote:
>
> does clojure have a strict split between side-effects and
There is no such thing in Clojure.
Separation of IO and non IO is done by:
- encouraging pure functions
- providing very good pure data structures, and libraries
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clo
does clojure have a strict split between side-effects and pure functions
like haskell;
I guess what i have in my head is a rigorous split between effectfull
'procedures' and pure 'functions',the latter cannot call the former;
although i know thats' implemented through the more general mechanism