3 ms·
<> is not write-only 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 lea
by whateveracct 6y ago
<> is not write-only
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.
- tome 6y agoOP meant <*> but HN ate the star as an italic character
- whateveracct 6y agoAh 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.