item: 'item' is a parser that consumes the first character of the...

Description Usage Arguments Examples

Description

item is a parser that consumes the first character of the string and returns the rest. If it cannot consume a single character from the string, it will emit the empty list, indicating the parser has failed.

Usage

1

Arguments

...

additional arguments for the parser

Examples

1
2
item() ("abc")
item() ("")

chappers/Ramble documentation built on May 13, 2019, 3:30 p.m.