r/functionalprogramming • u/redd-sm • Jun 29 '21
Python good examples of functional-like python code that one can study?
Would love to be able to study some real world python code that is written in functional style. Have not come across any. They must exist out there given the interest in functional and interest in python.
Thank you for sharing.
16
Upvotes
View all comments
Show parent comment
2
u/redd-sm Jul 01 '21
This what you said above is very interesting. And it positively has me thinking about learning Ocaml instead of Haskell. Purpose really is to learn FP as opposed to build projects in Ocaml or Haskell.
You refer to a good and free book, great debug tools and similar to Haskell type signatures. So Ocaml then :).
If there is also a good video course that you might endorse, do share although I will also search for it online.
Thank you!