LISP – Keyword Parameters
This topic is about LISP - Keyword Parameters. Keyword parameters allow you to specify which values go with which particular parameter. It is indicated using the &key symbol. When you send the…
This topic is about LISP - Keyword Parameters. Keyword parameters allow you to specify which values go with which particular parameter. It is indicated using the &key symbol. When you send the…
This topic is about LISP - Rest Parameters. Some functions need to take a variable number of arguments. For example, the format function we are using needs two required arguments, the stream…
This topic is about LISP - Functions. A function is a group of statements that together perform a task. You can divide up your code into separate functions. How you…
This topic is about LISP - Optional Parameters. You can define a function with optional parameters. To do this you need to put the symbol &optional before the names of the optional…
This topic is about LISP - Dolist Construct. The dolist construct allows iteration through each element of a list. For example, Create a new source code file named main.lisp and…
This topic is about LISP - Dotimes Construct. The dotimes construct allows looping for some fixed number of iterations. For example, Create a new source code file named main.lisp and…
This topic is about LISP - Do Construct. The do construct is also used for performing iteration using LISP. It provides a structured form of iteration. The syntax for do…
This topic is about LISP - Loop For Construct. The loop for construct allows you to implement a for-loop like iteration as most common in other languages. It allows you…
This topic is about LISP - Loop Construct. The loop construct is the simplest form of iteration provided by LISP. In its simplest form It allows you to execute some statement(s) repeatedly…
This topic is about LISP - Loops. There may be a situation, when you need to execute a block of code numbers of times. A loop statement allows us to…