[plt-dev] replacement for *-identifier-mapping

From: Ryan Culpepper (ryanc at ccs.neu.edu)
Date: Thu Mar 26 13:59:13 EDT 2009

On Mar 26, 2009, at 3:27 AM, Robby Findler wrote:

> How about not including the "bound-" and "free-" prefixes in the
> lookup functions?


I can think of three main alternatives for providing access to the  
operations:

1. Provide specific procedures (eg, 'bound-id-table-ref') and also  
implement a generic interface (so 'dict-ref' also works).
2. Provide only constructors; all other operations go through the  
generic interface.
3. Like 1 (specific procedures) but collapse some together (eg, 'id- 
table-ref').

(Supporting the generic dict interface is a given.)

I like option 1 best, since it serves both the people who like short  
generic names and those who like the explicitness (and greater  
speed--???) of distinct specific procedures.

Ryan



Posted on the dev mailing list.