this post was submitted on 11 Sep 2025
14 points (100.0% liked)

Functional Programming

1574 readers
1 users here now

founded 2 years ago
MODERATORS
 

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

you are viewing a single comment's thread
view the rest of the comments
[โ€“] Corbin@programming.dev 0 points 2 weeks ago (1 children)

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