[plt-dev] #hash vs. #s

From: Dave Herman (dherman at ccs.neu.edu)
Date: Fri Feb 6 11:46:24 EST 2009

The read behavior of #hash/#hasheq and #s is different; the former 
always `quote' their body whereas the latter allows quasiquotation:

     > (define x 42)
     > `#hash((x . ,x))
     #hash((x . ,x))
     > `#hasheq((x . ,x))
     #hasheq((x . ,x))
     > `#s(x ,x)
     #s(x 42)

I don't know if it's too late for an incompatible change, but allowing 
quasiquotation of #hash/#hasheq seems more useful, no?

Dave


Posted on the dev mailing list.