【入門】Common Lisp その7【質問よろず】
レス数が950を超えています。1000を超えると書き込みができなくなります。
0956951
2011/06/28(火) 23:31:40.31変数名と改行に気をつけてこう仕上げました。
( defmacro rm-parens-apply
( args top3
)
( funcall
( funcall
( funcall
( lambda
( args
)
( lambda
( top3
)
( lambda
( symbol-value
)`
(, symbol-value
,@
( funcall args top3
) ) )
) )' symbol-value
) top3
) args
) )
(defun top3 (a b c) (format nil "top3 is ~A, ~A, ~A" a b c))
(setq are 'grape args '('apple 'orange are))
(rm-parens-apply top3 args)
;=> "top3 is APPLE, ORANGE, GRAPE"
レス数が950を超えています。1000を超えると書き込みができなくなります。