Summary
In this chapter, you learned how to deal with parsing data using both applicative and monadic style parsing. Haskell’s type system and ecosystem make it particularly well suited to building parsers, and you’ll notice the patterns that you used throughout this chapter pop up regularly when you are writing Haskell code. In fact, it’s not a stretch to say that Haskell programmers will often try to turn problems into a parsing problem in many cases, because the techniques we’ve developed in this chapter are so handy that it’s always a good idea to see if we can use them when we’re presented with some new problem.
This chapter has also served as an example of how to take the work you’ve done so far in this book, learning about many of the ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access