New answers tagged lisp
1 vote
Church encoding (lambda calculus) to define < , > , !=
The usual lambda calculus (from now on: LC) way to encode numbers is indeed the Church encoding: 0 = λf. λx. x 1 = λf. λx. f x 2 = λf. λx. f (f x) This notation can be cumbersome to use, though. We ...
Top 50 recent answers are included
Related Tags
lisp × 7047common-lisp × 3157
scheme × 1383
racket × 634
emacs × 510
clojure × 430
list × 427
functional-programming × 393
elisp × 369
macros × 339
sbcl × 331
recursion × 311
clisp × 293
sicp × 222
function × 130
slime × 127
autolisp × 116
python × 112
lambda × 109
autocad × 91
loops × 81
clos × 74
java × 69
haskell × 63
eval × 61