Variable spacesConst

spaces: Simple.Parser<Parser.Unit> = A.spaces

Parse zero or more ' ', '\n', and '\r' characters. The implementation is pretty simple:

    const spaces = chompWhile(c => c === ' ' || c === '\n' || c === '\r')

So if you need something different (like tabs) just define an alternative with the necessary tweaks! Check out lineComment and multiComment for more complex situations.