25.11.2014 Views

Tema Lisp - Dpto. Ciencias de la Computación e Inteligencia Artificial.

Tema Lisp - Dpto. Ciencias de la Computación e Inteligencia Artificial.

Tema Lisp - Dpto. Ciencias de la Computación e Inteligencia Artificial.

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Introducción a <strong>Lisp</strong><br />

1<br />

Predicados y valores <strong>de</strong> verdad<br />

✉<br />

Predicados:<br />

> (listp ’(a b c))<br />

T<br />

> (listp 27)<br />

NIL<br />

✉<br />

El doble papel <strong>de</strong> nil. Verdad como distinto <strong>de</strong> nil<br />

> (null nil)<br />

T<br />

> (not nil)<br />

T<br />

IA-I 2003–2004 CcIa Introducción a <strong>Lisp</strong> <strong>Lisp</strong>.7

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!