Re: [racket-dev] Racket peephole opt in lieu of TR's generalized ListDots to usefully type hash

2014-06-29 Thread Matthew Flatt
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

Re: [racket-dev] 2htdp/image Feature Suggestion

2014-06-29 Thread Jos Koot
Thanks. I always use DrRacket for editing racket code. Jos. -Original Message- From: Greg Hendershott [mailto:greghendersh...@gmail.com] Sent: domingo, 29 de junio de 2014 5:55 To: Jos Koot Cc: dev; jja.k...@gmail.com Subject: Re: [racket-dev] 2htdp/image Feature Suggestion On

Re: [racket-dev] Racket peephole opt in lieu of TR's generalized ListDots to usefully type hash

2014-06-29 Thread J. Ian Johnson
Thanks, that works even marginally better than (hash k v). -Ian - Original Message - From: Matthew Flatt mfl...@cs.utah.edu To: J. Ian Johnson i...@ccs.neu.edu Cc: dev dev@racket-lang.org Sent: Sunday, June 29, 2014 2:08:06 AM GMT -05:00 US/Canada Eastern Subject: Re: [racket-dev] Racket