Re:Examples of Incorrect Abstractions in Other Languages
by tome on Wednesday May 20, 2020 @02:53AM
(#23244027)
OP meant <*> but HN ate the star as an italic character
Re:Examples of Incorrect Abstractions in Other Languages
by whateveracct on Wednesday May 20, 2020 @04:40PM
(#23251508)
Ah ok. Well then I'd use multiplication as the analogy there. It was slightly abstract for my child brain but opened up so many possibilities. Applicatives feel like the adult version of that.
Just because you used + in grade school doesn't mean it's more intuitive than <>. Your child brain could learn + so your adult one can learn <>
The code I work with professionally that makes heavy use of <>, <*>, <$>, and >>= is usually the easiest parts of the codebase.
I'm not mathematician. I didn't go to a fancy private school. I didn't learn FP or category theory formally.