This is a useful elm package for parsing strings, replacing in an original way regexp manipulations.
This is a standard elm package, depending only on elm/core.
Practicing elm/parser for every kata which are parsing related, is the best way to get familiar to this core package of the elm language.
For example, in the Hidden "Cubic" numbers kata, char by char manipulation, or regexp manipulation, to parse 3-digit numbers verifying isDigit predicate could be done by a recursive Parser implemented by :
This is a useful elm package for parsing strings, replacing in an original way regexp manipulations. This is a standard elm package, depending only on elm/core.
Practicing elm/parser for every kata which are parsing related, is the best way to get familiar to this core package of the elm language.
For example, in the
Hidden "Cubic" numbers
kata, char by char manipulation, or regexp manipulation, to parse 3-digit numbers verifyingisDigit
predicate could be done by a recursive Parser implemented by ::+1: reaction might help to get this request prioritized.