Hacker News new | ask | show | jobs
by lispm 1478 days ago
LispWorks for example has a documented and extensible mechanism to record the locations of definitions:

http://www.lispworks.com/documentation/lw80/lw/lw-dspecs-ug....

Common Lisp has standard function FUNCTION-LAMBDA-EXPRESSION:

  * (defun foo (a)
      (my-if (> a 10) 'big 'small))
  FOO

  * (function-lambda-expression #'foo)
  (LAMBDA (A) (BLOCK FOO (MY-IF (> A 10) 'BIG 'SMALL)))
  T
  FOO