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

2021-10-20 Thread unlimitedscolobb
Hi, Thank you George for your answer. On Wednesday, October 13, 2021 at 5:37:39 PM UTC+2 gneuner2 wrote: > > On 10/12/2021 7:01 PM, unlimitedscolobb wrote: > > I wrote myself this little function: > > > > (define (hash->ordered-list h) > > (hash-map h cons #t)) > > > > which uses the

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

2021-10-20 Thread Ryan Kramer
I guess I'll pile on too. My approach was `let++` which I rename to `let*` because (I think) it is backwards compatible. The pattern for early exit is `#:break (when test-expr result-expr)` so the previous example would look like this: (let* (#:break (when (not (foo? x)) #f)

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

2021-10-20 Thread George Neuner
On Wed, 20 Oct 2021 09:44:42 -0700 (PDT), Ryan Kramer wrote: > : >The other feature of let++ is that it also supports let-values. (Having to >nest "let, then let-values, then let again" was another reason my code >would get too indented for my taste.) > : Possibly a stupid question, but ...

[racket-users] Re: raco docs only sometimes installed?

2021-10-20 Thread Brian Beckman
This is helpful! Thank you. Gives me a few more options to try, though I still don't have a perfect solution. Regarding intent, yes, I want to have a development environment based on a git clone, with a package behavior that mimics identically the experience seen by someone who downloaded my

[racket-users] Executable zip file empty

2021-10-20 Thread P Schmurr
When creating an executable distribution, the resulting zip file has no contents. I have updated to the most recent Racket release. On Tue, Oct 19, 2021, 9:47 PM Hendrik Boom wrote: > On Tue, Oct 19, 2021 at 11:07:58AM -0700, Sorawee Porncharoenwase wrote: > > On Tue, Oct 19, 2021 at 7:01 AM

[racket-users] Re: raco docs only sometimes installed?

2021-10-20 Thread schle...@gmail.com
I am not sure what your intent is with 2 exactly. Is it to install the package you have checked out with git? If that's the case change the sequence to: git clone https://github.com/rebcabin/bleir-sandbox.git cd bleir-sandbox git checkout master raco pkg install raco setup bleir-sandbox raco test

[racket-users] Re: Executable zip file empty

2021-10-20 Thread Diego Crespo
When creating an executable after using raco fmt? Or in general? If it's the second situation, I think it belongs in a separate topic. On Wednesday, October 20, 2021 at 11:26:38 AM UTC-4 Peter Schmurr wrote: > When creating an executable distribution, the resulting zip file has no > contents.