Nevermind, I got it working (or at least it seems to work):

(define-syntax-rule (defpref ident default test?)
  (begin
    (define ident
      (case-lambda
        [() (pref 'ident)]
        [(value) (pref 'ident value)]))
    (pref 'ident default test?)))

Best,

Erich

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to