4 ms·
Try out Parsec library in Haskell (http://book.realworldhaskell.org/read/using-parsec.html http://book.realworldhaskell.org/read/using-parsec.html). If you are
by lalos 6y ago
Try out Parsec library in Haskell (http://book.realworldhaskell.org/read/using-parsec.html http://book.realworldhaskell.org/read/using-parsec.html). If you are familiar with parsing in general you'll see benefits immediately. Also FP tends to promote composition over inheritance (see: https://en.wikipedia.org/wiki/Composition_over_inheritance https://en.wikipedia.org/wiki/Composition_over_inheritance).