How about `(hash-set #hash() k v)`?
(I probably should have been more careful in defining `hash` to allow
it to return a constant when given 0 arguments.)
At Sat, 28 Jun 2014 09:56:05 -0400 (EDT), J. Ian Johnson wrote:
I depend highly on creating singleton hashes in my program (one key maps). I
peephole opt in lieu of TR's generalized
ListDots to usefully type hash
How about `(hash-set #hash() k v)`?
(I probably should have been more careful in defining `hash` to allow
it to return a constant when given 0 arguments.)
At Sat, 28 Jun 2014 09:56:05 -0400 (EDT), J. Ian Johnson wrote:
I
2 matches
Mail list logo