What little macro-fu I ever had abandoned me long back. Say I want to generate an identifier, e.g. add a standard suffix.
So if my identifier is `hello', the suffix `-tmp' is appended forming `hello-tmp'. The following gets there but I seem to recall using an easier technique in days of lore. [(_ name:id e0:expr e1:expr ...) (with-syntax ((name-tmp (datum->syntax stx (string->symbol (string-append (symbol->string (syntax->datum #'name)) "-tmp"))))) Is there an easier way to append together syntax? Thanks, Ray
____________________ Racket Users list: http://lists.racket-lang.org/users