LISP – Lists
This topic is about LISP - Lists. Lists had been the most important and the primary composite data structure in traditional LISP. Present day's Common LISP provides other data structures…
This topic is about LISP - Lists. Lists had been the most important and the primary composite data structure in traditional LISP. Present day's Common LISP provides other data structures…
This topic is about LISP - Sequences. Sequence is an abstract data type in LISP. Vectors and lists are the two concrete subtypes of this data type. All the functionalities…
This topic is about LISP - Strings. Strings in Common Lisp are vectors, i.e., one-dimensional array of characters. String literals are enclosed in double quotes. Any character supported by the…
This topic is about LISP - Arrays. LISP allows you to define single or multiple-dimension arrays using the make-array function. An array can store any LISP object as its elements. All arrays…
This topic is about LISP - Characters. In LISP, characters are represented as data objects of type character. You can denote a character object preceding #\ before the character itself. For…
This topic is about LISP - Numbers. Common Lisp defines several kinds of numbers. The number data type includes various kinds of numbers supported by LISP. The number types supported by LISP…
This topic is about LISP - Predicates. Predicates are functions that test their arguments for some specific conditions and returns nil if the condition is false, or some non-nil value…
This topic is about LISP - Mapping Functions. Mapping functions are a group of functions that could be applied successively to one or more lists of elements. The results of…
This topic is about LISP - Lambda Functions. At times you may need a function in only one place in your program and the function is so trivial that you…
This topic is about LISP - Returning Values Functions. By default, a function in LISP returns the value of the last expression evaluated as the return value. The following example…