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-22 7:09

>>67
Thanks for clarifying that. I just couldn't remember the term 'function slot', and what the difference between (foo) and (funcall 'foo) is, if any. The solution posted above then is complete and correct.

>>68
He didn't know how use macros obviously.

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