Inspired by the way methods are defined, by just defining them and looking
which class a method belongs to by looking into the global variable *Class,
I'd like to have a similar mechanism for creating docstrings.

My idea is something like this:
```
(de f (A) A)
(mkdocstr "A test function that returns its argument evaluated")
```

where mkdocstr is defined like this:
```
(de mkdocstr (Docstr)
   (put *Function 'docstr Docstr) )
```

This, of course, requires some global variable *Function that saves the
last symbol defined by 'de. Is there such a variable? Or is there a way to
change 'de to write to that variable?

Reply via email to