On Sun, Aug 19, 2018 at 11:03 AM, Andrew J <and...@alphajuliet.com> wrote:

> Very nice. The Racket special sauce is the (match*...). I need to get my
> head around what's going on there.
>
>
 If you already understand match, perhaps this will help:

> (match (list 5 6)
    [(list a b) (+ a b)])
11

More concise, match* equivalent:

> (match* (5 6)
    [(a b) (+ a b)])
11


Dan

-- 
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