pub fn is_nil() -> TermExpand description
Applied to a Parigot-encoded list it determines if it is empty.
IS_NIL ≡ λl.l TRUE (λax.FALSE) ≡ λ 1 TRUE (λ λ FALSE)
Example
use lambda_calculus::data::list::parigot::{is_nil, nil};
use lambda_calculus::*;
assert_eq!(beta(app(is_nil(), nil()), NOR, 0), true.into());