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

bvar

Term.bvar : term -> term

Returns the bound variable of an abstraction.

If M is a lambda abstraction, i.e, has the form \v. t, then bvar M returns v.

Failure

Fails unless M is an abstraction.

See also

Term.body, Term.dest_abs