[plt-scheme] keyword arguments, take 2

From: Robby Findler (robby at cs.uchicago.edu)
Date: Thu Jun 14 09:42:12 EDT 2007

On 6/14/07, Matthew Flatt <mflatt at cs.utah.edu> wrote:
>  > (greet "John" #:hi #:last "Doe")
>  expand: a keyword is not an expression in: #:last

Is is possible to have an even better error message in this case?
Something like "#%app: keyword #:hi expects an argument after it, but
found another keyword: #:last"?

Robby


Posted on the users mailing list.