Some "predicate indicators" (this is the ISO Standard terminology for a syntactic name/arity
expression denoting a predicate or functor (both of these terms are equivalent) are not content with a single slash, but actually take two. This always occurs in the context of DCGs. Examples:
- syntax_error//1: "Throw the syntax error
Error
at the current location of the input. This predicate is designed to be called from the handler ofphrase_from_file/3
." - js_expression(+Expression)//: "Emit a single JSON argument."