2 ms·
Yeah I guess it's mostly about not knowing Haskell syntax so the code samples don't really do much for me, and not knowing any category theory so that's no use
by magicalhippo 6y ago
Yeah I guess it's mostly about not knowing Haskell syntax so the code samples don't really do much for me, and not knowing any category theory so that's no use either.
I mean the Haskell wiki[1] is no use to a guy like me. Not a complaint, it's a reference after all. Wikipedia[2] isn't much better, which I do find slightly disappointing.
At least the Wikipedia article has some links to the concepts involved so should be doable to interpret the terse article after a bit of extra reading.
[1]: https://wiki.haskell.org/Functor https://wiki.haskell.org/Functor
[2]: https://en.wikipedia.org/wiki/Functor_(functional_programming) https://en.wikipedia.org/wiki/Functor_(functional_programmin...
- dddbbb 6y agoThe problem is also that in order to generically define functors, one needs higher-kinded types. The Haskell/Scala code on the Wikipedia page is not translatable to say, Java.