r/functionalprogramming • u/orang-outan • Dec 15 '23
Question Side effects handling
Beside Haskell, is there other languages with special treatment of side effects. The kola language seems to have an alternative way of handling them, but it has no ecosystem yet.
Is there a language that lets you tag pure function and check them at compile time?
7
Upvotes
View all comments
Show parent comment
10
u/sohang-3112 Dec 15 '23
Clojure doesn't enforce purity / side effects in any way - a function can claim to be pure but still do side effects.