Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

What makes Lisp...Lisp?

Name: Anonymous 2009-09-10 1:29

If you starting removing features from Lisp, at what point is it no longer Lisp? Some people claim Clojure shouldn't be considered a Lisp. Is it because too much Lisp was removed?

What is at the very heart of Lisp that makes it Lisp?

Name: Anonymous 2009-09-10 11:59

>>40
Never mind. I always forget C doesn't have function overloading.

Name: Anonymous 2009-09-10 12:03

>>40
this works only with one type
No, it doesn't.
Yes, it does. That's a consequence of being able to use the macro only once:
you can't use the macro twice
Yes, I can.
No, you can't. If you use it twice, you have two conflicting prototypes in scope. For instance:


/* MAPCAR_INSTANCE(char);
   expands to:
*/
char *mapcar(char (*)(char *), char *, size_t);

/* MAPCAR_INSTANCE(int);
   expands to:
*/
int *mapcar(int (*)(int *), int *, size_t);

As you see, these are two conflicting prototypes. You can solve this problem by adding some C pp tokenizer magic (# or ##), but even then, you'll create mapcar_int, mapcar_char, but you'll be unable to create a mapcar for arrays or pointers (mapcar_char* isn't a valid identifier in C).

simply because you have to enter the type name anyway inside the body of the function (to access data).
No, I don't.
Elaborate on that; you haven't demonstrated how you actually implement mapcar without that.

Go back to learning C before trying to discuss it.
There's nothing for me left to learn; I've studied ISO 9899:1999 and I've memorized a fairly big part of it.

Name: Anonymous 2009-09-10 15:08

There's nothing for me left to learn; I've studied ISO 9899:1999 and I've memorized a fairly big part of it.
That is most excellent.  When will you be writing your  ANSI C compiler?

Name: Anonymous 2011-01-31 21:08

<-- check em dubz

Name: tray 2012-03-14 15:25

you better be

Name: Anonymous 2013-01-19 23:17

/prog/ will be spammed continuously until further notice. we apologize for any inconvenience this may cause.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List