[racket-dev] Iteration and Mutation on dictionaries

2012-07-17 Thread Eric Dobson
Dictionaries provide an iteration interface with the primitive operations: dict-iterate-first: Dict -> (U #f Iterator) dict-iterate-next: Dict Iterator -> (U #f Iterator) dict-iterate-key: Dict Iterator -> Key dict-iterate-value: Dict Iterator -> Value This interface matches the hash interface an

Re: [racket-dev] `make-struct-type-property` and impersonators

2012-07-17 Thread Matthew Flatt
This seems ok to me. I'm not convinced there are any useful guarantees when an impersonable property has a guard, but I can see that there could be a useful sanity check. As you may already know: The primitive `make-struct-type-property' procedure can't accept keyword arguments, because there are

[racket-dev] `make-struct-type-property` and impersonators

2012-07-17 Thread Asumu Takikawa
Hi all, I mentioned an issue I had with struct type properties & impersonators in the promise/c thread, but I figured I should explain this in more detail. Currently, `make-struct-type-property` takes an optional argument which is the "guard" for the property. This guard is a procedure that check

[racket-dev] Release for v5.3 has begun

2012-07-17 Thread Ryan Culpepper
The release process for v5.3 has begun: the `release' branch was created for any work that is left and is now bumped to v5.2.900.0. You can go on using the `master' branch as usual, it is now bumped to v5.3.0.16 (to avoid having two different trees with the same version). If you have any bug-fix

Re: [racket-dev] arity error with latest from git

2012-07-17 Thread David Van Horn
On 7/17/12 5:33 PM, Matthew Flatt wrote: I've pushed a correction related to a change today in the module name resolver (missed a direct call in DrRacket). Thanks for the quick fix! I notice a small typo in the docs: "A module name resolver takes one and four arguments:" Should be two and

Re: [racket-dev] [plt] Push #25007: master branch updated

2012-07-17 Thread Ryan Culpepper
On 07/17/2012 05:32 PM, mfl...@racket-lang.org wrote: mflatt has updated `master' from 3b5eb1da41 to 6b3e207ecd. http://git.racket-lang.org/plt/3b5eb1da41..6b3e207ecd =[ 2 Commits ]== Directory summary: 5.7% collects/drracket/private

Re: [racket-dev] arity error with latest from git

2012-07-17 Thread Matthew Flatt
I've pushed a correction related to a change today in the module name resolver (missed a direct call in DrRacket). At Tue, 17 Jul 2012 17:27:19 -0400, Sam Tobin-Hochstadt wrote: > On Tue, Jul 17, 2012 at 5:14 PM, David Van Horn wrote: > > > > I'm getting an arity mismatch error whenever I run a s

Re: [racket-dev] arity error with latest from git

2012-07-17 Thread Sam Tobin-Hochstadt
On Tue, Jul 17, 2012 at 5:14 PM, David Van Horn wrote: > > I'm getting an arity mismatch error whenever I run a saved file in DrRacket. I get this identical error in DrRacket with the latest git HEAD. -- sam th sa...@ccs.neu.edu _ Racket Developers list: http://lists.

[racket-dev] arity error with latest from git

2012-07-17 Thread David Van Horn
Hi, I'm getting an arity mismatch error whenever I run a saved file in DrRacket. Welcome to DrRacket, version 5.3.0.15--2012-07-17(3b5eb1da/d) [3m]. Language: racket [custom]; memory limit: 1024 MB. . . ../../racket/collects/drracket/private/module-language.rkt:373:8: standard-module-name-resol