[plt-scheme] keywords (a backward-incompatible change)

From: Hans Oesterholt (hdnews at gawab.com)
Date: Sun Oct 2 13:42:14 EDT 2005

Will this be possible (ROOS with keywords)?

(define (f . args)
    (let ((widgets (=> :widgets args '()))
           (parent  (=> :parent args #f)))
      (-> window add parent widgets)))

(f :widgets entry1 entry2 label1 label2 :parent main-window)

I now have to do:

(f 'widgets (list entry1 entry2 label1 label2) 'parent main-window)

because I can't distinguish between a "keyword" and a "symbol".

Best whishes,


Posted on the users mailing list.