Is it possible to have an alias for the function name in Lisp?

后端 未结 8 1517
梦毁少年i
梦毁少年i 2021-02-05 20:37

...just like packages do.

I use Emacs (maybe, it can offer some kind of solution).

For example (defun the-very-very-long-but-good-name () ...) is no

8条回答
  •  孤城傲影
    2021-02-05 21:22

    If it's all the typing which makes continual use of long names undesirable, then yes, emacs can help. Check out abbrev-mode. Also well thought-of in this context is hippie-expand.

    If it's a question of readability, that's harder.

提交回复
热议问题