submitted 9 months ago* (last edited 9 months ago) by to c/programmer_humor@programming.dev
 
you are viewing a single comment's thread
view the rest of the comments
[–] 4 points 9 months ago

Just looking at the image, yeah he's a little parser combinator library entirely from scratch.

Not sure what you mean by verbose type declarations. It looks to be 2 type declarations in a few lines of code (a newtype for the parser and a sum type to represent the different types of JSON values). It's really not much at all.

  • source
  • parent