logoalt Hacker News

lisper11/08/20251 replyview on HN

I don't understand them. None of the introductory materials I've read on them ever made any sense to me. I kinda sorta understand "state" and "maybe" but the general idea that links these two things together and (I am given to understand) leads to other cool stuff just eludes me.


Replies

ChadNauseam11/09/2025

Easiest way to understand is to write code using them IMO. (Writing a parser for some language with a parser-combinator library is a good place to start.) Otherwise it's like trying to understand how to play a board game by reading the rulebook. It's easier to just try playing the game