Skip to main content

Functions

Haifeng WenHaifeng Wen

Loading preview...

Use cases

About

This mind map template, based on Chapter 5 of Practical Common Lisp (gigamonkeys.com/book/functions.html), covers the fundamentals of Lisp functions with 100 nodes organized into 10 branches. It explores three basic components (functions, variables, macros), details defun syntax, and explains optional parameters, rest parameters, keyword parameters, and mixing different parameter types. The template also covers function return values with RETURN-FROM, functions as data (funcall and apply), lambda expressions, and includes a floating topic for notes. Key nodes include 'three basic components', 'defun', and 'Function Return Values. RETURN-FROM'. This Functions cheat sheet is ideal for Lisp learners and programmers seeking a structured reference.

Terms and Conditions

When to use this template

Lisp beginners and students

Studying Lisp function syntax and parameter types for the first time

Programming instructors and trainers

Preparing a lecture or tutorial on Common Lisp functions

Experienced Lisp developers

Reviewing advanced concepts like funcall, apply, and lambda before a coding session

How to use this template

Step 1

Open and Explore the Core Structure

Open the template in Xmind and navigate through the ten branches starting with the three basic components to understand the Lisp foundation.

Step 2

Examine Syntax and Customize Examples

Review the detailed nodes for defun and parameter types while double-clicking any topic to add your own Lisp function code snippets.

Step 3

Utilize Floating Notes and Export

Use the floating topic for additional study notes before exporting your completed function cheat sheet as a PDF or image for reference.

Frequently asked questions

It covers defun, optional/rest/keyword parameters, mixing parameter types, function return values with RETURN-FROM, functions as data (funcall, apply), and lambda expressions, all from Practical Common Lisp Chapter 5.

Open the .xmind file in Xmind, then explore each branch: start with 'three basic components', then study 'defun' syntax, and practice with parameter examples in 'optional parameters', 'rest parameters', and 'Keyword Parameters'.

Yes, you can customize the template by adding your own examples, modifying parameter lists, or expanding branches with additional notes. All nodes are fully editable.

RETURN-FROM allows early exit from a named block (automatically the function body in defun), returning a specified value immediately, as shown in the (defun foo (n) ...) example.

Absolutely. The template organizes key concepts like 'Functions As Data' and 'lambda' with clear examples, making it a great visual aid for instructors and students.

Got an inspiring template?

Share your mind map templates with creators around the world and start earning from your work.

Free template