cross-posted from: https://gregtech.eu/post/19047959
Specifically, I’m interested in BEAM, but I’m not sure if I should go for Elixir or Gleam. What seems cool about Gleam is that it has static typing.
I have no experience with functional programming at all btw
Plenty of objects in Haskell are not pure functions; examples include CAFs and IO actions. Haskell is referentially transparent, not pure. It’s an acceptable language, but the community’s memes are often incorrect or misleading.
There are statically typed Lisps. Even the simplest Lisp has more detail in its type system than you’ve sketched. Also, Lisps don’t have flat set-like collections; they operate on trees. For more detail, refresh your knowledge about the functional paradigm with the corresponding WP or esolangs description.
At the end of the day Lisps are atoms and lists and that’s it