Common Lisp Tutorial - (2) Functions and If. Also lies

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
1,579
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Aug 21, 2011

In this tutorial I will lie about learning how to define your own functions, and then I will lie once more about the same thing. Afterwards I go over some more data types such as vector, string, and list, while going over the princ function which produces output to a user. Afterwards we learn a little bit about the if special operator as well as truthiness and fakiness via T and nil. I also very briefly discuss some basic data types.

Next time I promise we'll go over defun and other macros

Uncheck the "Hide Extensions" folder option on Windows:
http://windows.microsoft.com/en-US/windows-vista/Show-or-hide-file-name-exten...

That's for Vista, it'll work essentially the same on XP or 7, just get to folder options and one of them will be a checkbox for it.

SBCL:
http://www.sbcl.org/

Common Lisp Hyperspec:
http://www.lispworks.com/documentation/HyperSpec/Front/

Category:

Education

Tags:

License:

Standard YouTube License

  • likes, 1 dislikes

Link to this comment:

Share to:

Uploader Comments (inzanozulu)

  • So is princ basically exactly like Browse in oz?

  • @dedudenamedjosh

    Actually, princ is most similar to Show in Oz. This is because Browse will continually examine the value of each undetermined expression (as per an unbound variable). Show on the other hand will attempt to use the value of the expression immediately, pausing the current thread until that value is available if need be.

    However, because Common Lisp does not natively support lazy evaluation (libaries available to do so, however), princ will error on unbound variables.

see all

All Comments (6)

Sign In or Sign Up now to post a comment!
  • @animeisart1 WTF? where did the double post come from?

  • @animeisart1

    nvm i is retard (syntax err, haven't used cmd in a while)

  • Maybe i is retard. But mine doesn't see the files. wtf?

  • Thank you so much for putting making these tutorials.

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more