[plt-scheme] What is the "right way"to define keyword arguments in @defproc statements?
Grant Rettke wrote:
> What is the "right way"to define keyword arguments in @defproc statements?
> _________________________________________________
> For list-related administrative tasks:
> http://list.cs.brown.edu/mailman/listinfo/plt-scheme
>
>
Based on documentation of @defproc and usage in official documentation,
(keyword id contract default)
e.g.,
(#color text-color (symbols 'black 'fuchsia 'mauve) 'black)
This would be formatted as an optional keyword argument. Leave out the
default value to have it formatted normally.
Yavuz