r/functionalprogramming • u/sgillespie00 • Dec 17 '22
Question General Functional Programming Resources
I'm looking for resources for FP abstractions, not relating to any particular language or library. Most resources I come across are either specific to a language or are meant for beginners.
Examples of FP abstractions are things like Functors, Monads, Semigroups, Lenses, and so on.
EDIT: I've got some really good suggestions, here are my favorites so far:
- F# for fun and profit: https://fsharpforfunandprofit.com/
- Lambda the Ultimate Pattern Factory: https://github.com/thma/LtuPatternFactory
- Purely Functional Data Structures, by Chris Okasaki: https://www.cs.cmu.edu/~rwh/students/okasaki.pdf
33
Upvotes
10
u/OlaoluwaM Dec 17 '22
I like Scott Wlaschin's blog: https://fsharpforfunandprofit.com/. Also, Giulio Canti's book: "Introduction to Functional Programming with fp-ts" (https://github.com/enricopolanski/functional-programming). Joining the FP slack is also a good idea since it's a great place to ask questions! Moreover, from my experiences, being Italian or at least based in the EU (not sure about the UK, though) seems to help as well 🙂. Would love to hear other suggestions
7
u/dr_tarr Dec 17 '22
OP, you might find this repo useful. https://github.com/thma/LtuPatternFactory
3
u/brunogadaleta Dec 17 '22
My path (still learning) with FP has begon with searches for "imperative she'll, functional core. "
3
u/pthierry Dec 17 '22
The thing is, it probably exists but I'm not surprised it's rare: such concepts need to be used and exercised and that means a programming language.
The best we could do is a resource that gives general concepts and provides concrete examples with multiple languages.
3
u/ancbro Dec 17 '22
Great question. I'll think about this and report back.
1
u/kinow mod Dec 17 '22
Hmm, I think we had a post that had exactly this. Concepts that could be implemented in any language. Can't recall the websites that appeared in the post, nor the post, but will take a look again later and report here (unless someone else here remembers it and beats me to it).
1
u/[deleted] Jan 24 '23
I wrote a free book to introduce the basic concepts. I was bothered by the fact that many newcomers complain about having difficulty to understand them [like Monad], while i think that these concepts themselves are really trivial.
It is not a Haskell tutorial. I like that i explain the concepts as they are, instead of analogies and examples, i think this way is more understandable.
You can insert feedback into the pdf version through Google Drive. I will try to answer questions if you feel lost.
5
u/[deleted] Dec 17 '22
[removed] — view removed comment