[racket-users] Re: Escape continuations for fussy code

2021-10-21 Thread Ryan Kramer
Good question. I know I have done exactly that in the past, but I guess I just forgot about that pattern in my more recent code. Other possible reasons include "because I don't like the unnecessary parens around a single id" and "because I like the indentation of let* (4 chars) much better than

[racket-users] How to require untrusted module?

2021-10-21 Thread kalime...@gmail.com
I've read about protect-out and current-code-inspector, but I still cannot understand, how to require a module and forbid it to run protected modules. Something like (require untrusted-foo) (foo-proc) but to forbid foo-proc to use ffi/unsafe. -- You received this message because you are subsc

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

2021-10-21 Thread George Neuner
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 out hash tables a lot, so I like the elements to appear in the same order all the