Tags: Programming Language.
defun (short for define function) is a macro in the Lisp family of programming languages that defines a function in the global environment that uses the form:Defining the function addnumbers that adds two numbers:defining function square that squares a number:and defining a function that returns the factorial of a number: