phrase/2

Description

phrase(Ruleset, Input)

True if the list Input can be parsed using the specified Ruleset.

Template and modes

phrase(+callable, ?list)

Errors

Ruleset is a variable:
instantiation_error
Ruleset is neither a variable nor a callable term:
type_error(callable, Ruleset)
Input is neither a variable nor a proper list:
type_error(list, Input)

Examples

(none)