token: 'token' is a new primitive that ignores any space before and...

Description Usage Arguments See Also Examples

Description

token is a new primitive that ignores any space before and after applying a parser to a token.

Usage

1
token(p)

Arguments

p

is the parser to have spaces stripped.

See Also

Digit, Lower, Upper, Alpha, AlphaNum, SpaceCheck, String, ident, nat, space, identifier, natural, symbol

Examples

1
token(ident()) ("   variable1   ")

Ramble documentation built on May 1, 2019, 7:17 p.m.