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

/prog/ challenge

Name: Anonymous 2014-07-16 18:35

Write a macro that, given a term of code, transforms all the calls to the function FOO in that term, and only those calls, into calls to function BAR with the same arguments.
Language: Common Lisp or Scheme.

Name: Anonymous 2014-07-27 16:01

>>73
(list 'foo 7)
>'(foo 7)

It's only a function call when you tell lisp to evaluate it. Since that hasn't happened, it's just a list.

Is '(7 7) a function call to the number 7?

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