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() ("")

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