3 ms·
Thanks for sharing this! I'm just getting my head around category theory (in Haskell). I would appreciate if anyone knows of a small project out there that use
by AugustoCAS 3y ago
Thanks for sharing this! I'm just getting my head around category theory (in Haskell).
I would appreciate if anyone knows of a small project out there that uses category theory to learn how to design and architect a solution (even better if it's in Haskell!)
- hibernator149 3y agoThis is not strictly (purely?) category theory, but two fun little projects that will teach you a lot (or reinforce what you already know) are writing your own parser combinator library (https://www.cs.nott.ac.uk/~pszgmh/pearl.pdf https://www.cs.nott.ac.uk/~pszgmh/pearl.pdf) and Lens library (https://en.m.wikibooks.org/wiki/Haskell/Lenses_and_functional_references https://en.m.wikibooks.org/wiki/Haskell/Lenses_and_functiona...).
- wavemode 3y agoAs someone who used to use Haskell a lot, I will tell you that learning category theory isn't really going to improve your practical ability to architect Haskell code. If you're simply curious about the mathematical structures that Haskell's standard typeclasses are named after, then by all means learn category theory. But if you're trying to improve your ability to use those typeclasses to write real-world software, I recommend "Haskell From First Principles" and/or "Effective Haskell". And get your hands dirty writing actual programs - practice makes perfect.