r/functionalprogramming • • Jul 01 '26

Question Beginner in functional programming

Hi everyone, I wanted to ask how you would start from scratch in functional programming to understand it in detail. I'm a guy who comes from the imperative paradigm and I want to delve deeper and investigate about functional programming.

I'm learning Gleam and some Erlang to understand Beam, and I'm not sure if it's a good place to start. I feel like I'm lacking some theory. Any recommendations would be appreciated.

32 Upvotes

21 comments sorted by

View all comments

Show parent comment

3

u/Dazzling_Music_2411 Jul 04 '26 edited Jul 06 '26

I'm only getting into Ocaml now, but it's fine if you're interested in language building, as I am. Very practical, makes lots of concessions to "reality". Seems like a great workhorse. That's why I chose it over Haskell. But Haskell is probably better if you want to keep things ultra-pure.

But it all depends what you want to use it for.

If you just want an introduction or a flavour, I'd go with something typeless, like Clojure or Racket.