item {Ramble}R Documentation

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.

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

item(...)

Arguments

...

additional arguments for the parser

Examples

item() ("abc")
item() ("")

[Package Ramble version 0.1.1 Index]