Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Clojureでは、2番目のシンボルに関数を参照させることができます。
(defn sq [x] (* x x)) (sq 7)
-> 49
(def square sq) (square 7)
Emacs-Lispでは、私は
(defun square (x) (sq x))
最初の解決策に精神的に近い解決策はありますか?
(defun sq (x) (* x x)) (defalias 'square 'sq)