[plt-dev] Suggestion: `with-hash'

From: Eli Barzilay (eli at barzilay.org)
Date: Fri Mar 27 02:32:50 EDT 2009

On Mar 27, Ryan Culpepper wrote:
> 
> The docs say 'hash-ref' accepts a third value, which if a procedure
> is applied to get the default value and which otherwise is
> interpreted as the default value. That's what I meant by "the normal
> hash value/thunk convention".

I know.  A popular use case is allocating something to put in the
table.

-- 
          ((lambda (x) (x x)) (lambda (x) (x x)))          Eli Barzilay:
                  http://www.barzilay.org/                 Maze is Life!


Posted on the dev mailing list.