On Tuesday, July 30, 2019 at 12:02:02 PM UTC-5, Hendrik Boom wrote:
>
> For example, to make a function has the colour red built in, 
> I tried 
>
>     @(define (redtext text) (colorize #:color "red" text)) 
>
> which did not work. 
>

When you say "which did not work" — what didn't work exactly? If I 
concatenate this `@define` with your top example and add

    @redtext{WARNING AGAIN}

…I get the expected output in DrRacket, no errors.

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/racket-users/4d4ff032-c410-41f0-823c-dcf596ecbe5b%40googlegroups.com.

Reply via email to