Skip to main content
grasp.study
About
Explore
Pricing
Log in
Try it for free
Back to course
👋
Welcome to a Grasp lesson
Create a free account
to keep studying and create your own study path.
Learn Emacs Lisp
·
Module 7
Working with Lists: The Heart of Lisp
1
Building Lists with Cons Cells
Explain how lists are built from cons cells.
List and Quote Creation
Create lists using 'list' and 'quote'.
Accessing List Elements with car, cdr, and nth
Access list elements using 'car', 'cdr', and 'nth'.
4
Adding Elements to Lists with Cons and Append
Add elements to a list non-destructively using 'cons' and 'append'.
5
List Modification with PUSH and POP
Modify a variable containing a list using the 'push' and 'pop' macros.
6
List Concatenation: Append vs. Nconc
Distinguish between non-destructive ('append') and destructive ('nconc') list concatenation.
List Iteration with `dolist` and `mapcar`
Iterate over a list using 'dolist' and apply a function to each element using 'mapcar'.
Recursive List Processing
Write a simple recursive function to process a list.
Previous module
Conditionals and Control Flow
Next module
Text Manipulation with Strings and Regex