But it requires a different kind of skill altogether. A semiring is a concept in abstract algebra that’s quite independent from general functional programming.
fold (+) 0 [1,2,3]
works. Introducing "Semiring" as a concept at the same time can be a bit much for a beginner!I do think it's a useful concept, and that Purescript is an excellent, intermediate-level FP language.