Re: [racket-users] How to require untrusted module?

2021-10-23 Thread Matthew Flatt
Yes, ou can use `dynamic-require` with a limited code inspector like this: (parameterize ([current-code-inspector (make-inspector)]) (dynamic-require 'untrusted-foo 'foo-provided-name)) At Fri, 22 Oct 2021 12:42:58 -0700 (PDT), "kalime...@gmail.com" wrote: > Thank you! > > Is it possible

Re: [racket-users] hash->list with try-order? (like hash-map)

2021-10-23 Thread unlimitedscolobb
On Friday, October 22, 2021 at 6:45:18 PM UTC+2 david@gmail.com wrote: > On Thu, Oct 21, 2021 at 5:26 AM George Neuner wrote: > >> >> On 10/20/2021 5:53 PM, unlimitedscolobb wrote: >> >> >> > You can get a lot of mileage out of the 'set' datatype, which removes > ordering from the equation,

Re: [racket-users] hash->list with try-order? (like hash-map)

2021-10-23 Thread unlimitedscolobb
On Thursday, October 21, 2021 at 11:26:16 AM UTC+2 gneuner2 wrote: > > On 10/20/2021 5:53 PM, unlimitedscolobb wrote: > > I have two main use cases for producing an ordered list from a hash table: > > 1. A canonical way to pretty print a hash table: In my projects, I carry > around and print