Zach Beane <xach@...> writes:
> suggested calling it (setf sb-ext:sbcl-source-location).
On reflection, I'm not so sure about this name any more, because there's
no desperately good way of implementing sb-ext:sbcl-source-location
itself: it inverts fine if SYS is set up according to the pattern, but
what should it return if there's some more complicated set of
translations, for whatever reason? Maybe
sb-ext:set-sbcl-source-location is better? Anyway.
> In which file would this best be placed?
Maybe src/code/target-pathname.lisp, after !pathname-cold-init?
> Is there an example function I could study to determine how best to
> document this function with comments and a docstring?
Maybe take a look at sb-ext:posix-getenv, which ends up in the manual by
inclusion of the texinfoified docstring in