Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
kaba0
· 4y ago · 0 comments
What about the Lispian way of FP, e.g. Clojure? It is noting like the Haskellian one, yet they are also on the same spectrum.
Comments
[–]
grumpyprole
4y ago
Clojure encourages pure functions and immutable data, so definitely a "functional first" language. But it's not a "purely functional" language.
[–]
kaba0
OP
4y ago
I don’t think there is a boolean pureness flag, rather a spectrum. Haskell can also introduce arbitrary side effects in any code with some unsafe escape hatches, but sure, the common case doesn’t employ that, so it is a bit more pure than Clojure.