2 ms·
If I were doing the above a lot, I'd write compose as a macro (or better yet a compiler macro). In that case, the only thing above that needs to be changed is t
by dreamcompiler 7y ago
If I were doing the above a lot, I'd write compose as a macro (or better yet a compiler macro). In that case, the only thing above that needs to be changed is the setq, which would have to be written as
(setf (fdefinition g) (compose f f))
Still different from Scheme, but some of the differences can be papered over with macros.