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:

Loading...

This page contains content from the copyrighted Wikipedia article "Defun"; that content is used under the GNU Free Documentation License (GFDL). You may redistribute it, verbatim or modified, providing that you comply with the terms of the GFDL.