Posted On: Feb 22, 2018
(define greet (lambda (given #:last surname) (string-append "Hello, " given " " surname))) > (greet "John" #:last "Smith") "Hello, John Smith" > (greet #:last "Doe" "John") "Hello, John Doe"
In above example last is a keyword argument.
Never Miss an Articles from us.
List Processing – LISP (or LISP) is the second oldest high-level programming language after Fortran developed by John..
There are two types of variables are available in LISP one is lexical variable, and other is special variable..
LISP machines are general-purpose computers designed to efficiently run LISP as their main software and programming lan..