Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

is_pair

pairSyntax.is_pair : (term -> bool)

Tests a term to see if it is a pair.

is_pair "(t1,t2)" returns true. If the term is not a pair the result is false.

Failure

Never fails.

See also

pairSyntax.mk_pair, pairSyntax.dest_pair