[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: a few small questions



Quoting Michael Vanier:
> Does mzscheme support docstrings in function definitions?  e.g.
> 
> (define (foo x)
>   "This function does cool things to x."
>   (do-cool-things-to x))

Not currently.

> Also, is there a way to extract the name of a function when that function
> is passed as a parameter to another function?

Yes: `inferred-name'.

Matthew