Skip to content

theschmocker/haskell-json-parsing-exercise

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Parsing JSON with Applicative Parser Combinators

Naive JSON parser combinators and a pretty (incomplete) printer

The code here is very much based on what was built in this video. I watched it the day before I created this repo and I wanted to see if I learned enough from it to implement it myself without looking back at the video or the posted repo. Turns out I did!

Outside of the simple examples ((+) <$> Just 1 <*> Just 2), Applicative still makes my brain hurt a little bit, but my intuition for how they can be used to sequence actions while keeping/manipulating some context behind the scenes — the remaining parser input, in this case — is a bit better now.

About

Naive JSON parsing with applicative

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published