Legalizing Comonad Composition
Read OriginalThe article details the author's functional programming exploration, using an Advent of Code puzzle and Conway's Game of Life to investigate comonad composition in Haskell. It explains the attempt to build a 2D grid comonad by composing 1D stream comonads, the subsequent failure of the comonad laws, and the turn to category theory fundamentals to diagnose the issue.
Comments
No comments yet
Be the first to share your thoughts!
Browser Extension
Get instant access to AllDevBlogs from your browser