Re: [racket-users] Questions about module encapsulation guarantees

2018-09-12 Thread Matthew Flatt
At Sun, 9 Sep 2018 18:52:57 -0700 (PDT), Jack Firth wrote: > If I make a symbol with `gensym` (or do anything else that creates a new > value that's not `eq?` to any other value) in some module, what are the > absolute upper limits on my ability to use that symbol within the module > without all

Re: Sealers/unsealers in Racket (Re: [racket-users] Questions about module encapsulation guarantees)

2018-09-10 Thread Christopher Lemmer Webber
Good call, I'll be careful about that in future examples. David Storrs writes: > This is a very cool thing, but may I suggest choosing a different name than > 'can'? '(can-unseal lunch)' reads less like a verb and more like a > predicate where someone forgot the '?' -- "Are you able to unseal lu

Re: Sealers/unsealers in Racket (Re: [racket-users] Questions about module encapsulation guarantees)

2018-09-10 Thread Christopher Lemmer Webber
Matthias Felleisen writes: >> On Sep 10, 2018, at 10:09 AM, Christopher Lemmer Webber >> wrote: >> >> Jack Firth writes: >> >>> If I make a symbol with `gensym` (or do anything else that creates a new >>> value that's not `eq?` to any other value) in some module, what are the >>> absolute upper

Re: Sealers/unsealers in Racket (Re: [racket-users] Questions about module encapsulation guarantees)

2018-09-10 Thread David Storrs
This is a very cool thing, but may I suggest choosing a different name than 'can'? '(can-unseal lunch)' reads less like a verb and more like a predicate where someone forgot the '?' -- "Are you able to unseal lunch?" as opposed to "Unseal my lunch now". On Mon, Sep 10, 2018 at 11:09 AM, Christoph

Re: Sealers/unsealers in Racket (Re: [racket-users] Questions about module encapsulation guarantees)

2018-09-10 Thread Matthias Felleisen
> On Sep 10, 2018, at 10:09 AM, Christopher Lemmer Webber > wrote: > > Jack Firth writes: > >> If I make a symbol with `gensym` (or do anything else that creates a new >> value that's not `eq?` to any other value) in some module, what are the >> absolute upper limits on my ability to use t

Sealers/unsealers in Racket (Re: [racket-users] Questions about module encapsulation guarantees)

2018-09-10 Thread Christopher Lemmer Webber
Jack Firth writes: > If I make a symbol with `gensym` (or do anything else that creates a new > value that's not `eq?` to any other value) in some module, what are the > absolute upper limits on my ability to use that symbol within the module > without allowing any other modules to get ahold of th

[racket-users] Questions about module encapsulation guarantees

2018-09-09 Thread Jack Firth
If I make a symbol with `gensym` (or do anything else that creates a new value that's not `eq?` to any other value) in some module, what are the absolute upper limits on my ability to use that symbol within the module without allowing any other modules to get ahold of the symbol? What do code i