LISP Programming Tutorial: An Intro to Functions

preview_player
Показать описание
In this video, we get our feet wet with LISP functions. I show you how to define a function, call it, return values from it, and use recursion.

Examples include functions being passed integers and functions doing some basic, and not so basic, list processing.

Knocking some rust off for the AI class I'm teaching for the first time, so if you notice any mistakes in the video, please leave some comments below.

Thank you!

The tools I'm using in this video:

// Learn More //
Check out my LISP playlist:

Simple Input and Output:

LISP arrays:

An introduction to LISP lists:
Рекомендации по теме
Комментарии
Автор

I'm using SBCL, I get a warning when I run the code says: "undefined variable: COMMON-LISP-USER::A". Also it outputs "NIL" from the function

lucasresendegoes
Автор

Hi, great vid, you explain better than my teacher, I got a question with the bigger function if you don't mind me asking, let's say i have to use 3 parameters, how would u do it?

dariocastellanos
Автор

Kindly make separate video about recursive function. It's so confusing. I hope, u will make a video

sadamth
Автор

9:41 so... if i want a list ... i change the "print" ?¿ .. i need to know that please ^^´

moonlix
Автор

this is very DE-FUN™
(haha get it? de fun? its not fun?) no but great tutorial, this is fun

dexah