#monad #scala
https://www.sderosiaux.com/2018/06/15/a-simple-way-to-write-parsers-using-the-state-monad/
https://www.sderosiaux.com/2018/06/15/a-simple-way-to-write-parsers-using-the-state-monad/
Sderosiaux
A simple way to write parsers: using the State monad
Who said parsers had to be complicated to write? We'll see how we can use the State monad to write mini-parsers (to recognize letters, digits), combine them (to recognize words, numbers), then finally parser a complete language.
#category_theory #introduction #intro #monoid #monad #applicative #functor #endofunctor
https://www.youtube.com/watch?v=GWDyIV7Oxyc
https://www.youtube.com/watch?v=GWDyIV7Oxyc
YouTube
A pragmatic introduction to Category Theory by Daniela Sfregola
This video was recorded at Scala Days Berlin 2018
Follow us on Twitter @ScalaDays or visit our website for more information http://scaladays.org
More information and the abstract can be found here:
https://eu.scaladays.org/lect-6917-a-pragmatic-introduction…
Follow us on Twitter @ScalaDays or visit our website for more information http://scaladays.org
More information and the abstract can be found here:
https://eu.scaladays.org/lect-6917-a-pragmatic-introduction…