[ prog / sol / mona ]

prog


Marvin Minsky - The Beauty of the Lisp Language

158 2020-10-12 03:32

>>157 #define A(x) #define B(y) (x(y))
#define A(xfunc,yarg) xfunc(yarg)

159 2020-10-12 03:36

>>157 > #define A(x) #define B(y) (x(y))
or if you want exactly B(y)
#define A(x,y) x(y)
#define B(y) A(x,y)

161 2020-10-12 08:20

>>160
Why not write '#define add1(x) x+1' directly?

301


VIP:

do not edit these