On Wed, Feb 10, 2016 at 11:02 AM, Neil Van Dyke <n...@neilvandyke.org>
wrote:

> For your example, more traditional would be `(map cons` and `cdr`. Then
> it's more clear that `assoc` returning the matched pair lets you
> distinguish a `#f` `cdr` in a match from no match found.
>
>
And dict-ref lets you do this by allowing you to provide a failure thunk.

-Jon

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