[racket-users] for loop: any way to access the whole list?

2019-06-14 Thread Sanjeev Sharma
within this for loop is there any way to access different pieces of the description and amt? car-ing and cdr-ing for example? Or move the identifier definitions into the let*, and pass those to for in some way? (let*((ratio 9/12)) (for((description(list "this" "that")) (amt(list

[racket-users] Re: for loop: any way to access the whole list?

2019-06-14 Thread Sanjeev Sharma
cat is from srfi/54 On Friday, June 14, 2019 at 10:45:10 AM UTC-4, Sanjeev Sharma wrote: > > within this for loop is there any way to access different pieces of the > description and amt? car-ing and cdr-ing for example? > > Or move the identifier definitions into the let*, and pass those to

[racket-users] Racket Week Housing - Deadline is 06/21

2019-06-14 Thread Jay McCarthy
Racket Week is less than a month away! The dorm housing signup for the workshops is closing soon. You'll have until 06/21 to register for it. https://school.racket-lang.org/#housing The details are at the link, but in summary, it's $40/night at the University of Utah dorms. Jay -- Jay McCarthy

[racket-users] Re: 7 GUIs

2019-06-14 Thread Matthias Felleisen
> On Jun 1, 2019, at 7:47 PM, Matthias Felleisen wrote: > > > Someone recently mentioned the “7 GUIs” task. I spent a couple of days to > write up minimal solutions: > > https://github.com/mfelleisen/7GUI/blob/master/task-7.rkt > > In my spare time, I will develop this repo in more

Re: [racket-users] for loop: any way to access the whole list?

2019-06-14 Thread Jens Axel Søgaard
I am not entirely sure this answer is what you are looking for, but the following generator will produce the pairs of the list instead of the elements. (define (in-pairs xs) (make-do-sequence (λ () (define (pos->element p) p) (define (next-position p) (cdr p)) (define

Re: [racket-users] The search for routy

2019-06-14 Thread Ben Greenman
On 6/14/19, Gregor Kopp wrote: > Hi! > I found here docs: https://docs.racket-lang.org/routy/ > I'd like to try this for fast prototyping, but can't find the package as my > > google-fu is sloppy I guess. > Any help please, sirs and madams? Another option: search for "routy" at

Re: [racket-users] The search for routy

2019-06-14 Thread Matthias Felleisen
You may be interested in https://github.com/adjkant/web-sourcery (wip) > On Jun 14, 2019, at 3:15 AM, Gregor Kopp wrote: > > Thank you very much! > It's hot here... > > Am Freitag, 14. Juni 2019 08:58:53 UTC+2 schrieb Tom Gillespie: > https://github.com/Junker/routy found via

[racket-users] Racket News - Issue 10

2019-06-14 Thread 'Paulo Matos' via Racket Users
It's here!!! https://racket-news.com/2019/06/racket-news-issue-10.html Have a good weekend, -- Paulo Matos -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to

Re: [racket-users] Why struct type doesn't include field names?

2019-06-14 Thread Matthew Flatt
At Thu, 13 Jun 2019 20:50:34 -0700, Sorawee Porncharoenwase wrote: > Hence the question: why struct type doesn’t include field names? It was an early design decision. There didn't seem to be a need to keep field names, and so we left them out for simplicity. That may seem difficult to believe,

Re: [racket-users] Why struct type doesn't include field names?

2019-06-14 Thread David Storrs
On Thu, Jun 13, 2019 at 11:50 PM Sorawee Porncharoenwase < sorawee.pw...@gmail.com> wrote: > Hence the question: why struct type doesn’t include field names? > struct-plus-plus ( https://docs.racket-lang.org/struct-plus-plus/index.html#%28part._.Reflection%29) gives you full reflection data,

Re: [racket-users] for loop: any way to access the whole list?

2019-06-14 Thread David Storrs
On Fri, Jun 14, 2019 at 10:45 AM Sanjeev Sharma wrote: > within this for loop is there any way to access different pieces of the > description and amt? car-ing and cdr-ing for example? > I'm not entirely clear on what you're looking for, but maybe this helps? (define lst '(a b c)) (for ([(val

Re: [racket-users] RacketCon hotel group rate

2019-06-14 Thread James Platt
I actually booked rooms at a hotel across the street from the Little America for much less. In all the conferences and other events I have been to, I don't think I have ever, even once, found the group-rate rooms at the host hotel to be the best deal. James On Jun 14, 2019, at 3:40 PM,

[racket-users] RacketCon hotel group rate

2019-06-14 Thread Matthew Flatt
If you're attending just RacketCon, there are still some group-rate rooms available at the Little America Hotel --- but you'll need to act fast. Our guaranteed group reservation has expired, but they'll continue to accept group reservations as long as space remains. See

Re: [racket-users] managing competing access to filesystem within places

2019-06-14 Thread Matthew Flatt
At Fri, 14 Jun 2019 15:26:17 -0700, Matthew Butterick wrote: > > > > On Jun 13, 2019, at 6:43 PM, Matthew Flatt wrote: > > > > > > Oh, don't do that. Unreliable workarounds to concurrency problems > > really do come back to bite you later. > > To ask the second dumbest possible question,

Re: [racket-users] RacketCon hotel group rate

2019-06-14 Thread David Storrs
On Fri, Jun 14, 2019 at 5:16 PM Robby Findler wrote: > Not that you should change your system/plans, but attendees booking > rooms at the hotel is actually part of what helps to pay for the event > (because of the way the contracts between the event and the hotel > works). In this case, I don't

Re: [racket-users] managing competing access to filesystem within places

2019-06-14 Thread Matthew Butterick
> On Jun 13, 2019, at 6:43 PM, Matthew Flatt wrote: > > > Oh, don't do that. Unreliable workarounds to concurrency problems > really do come back to bite you later. To ask the second dumbest possible question, what error-recovery policies are reliable under concurrency? (Put another way,

[racket-users] Re: grammar-based fuzzing

2019-06-14 Thread Eric Eide
Eric Eide writes: > You might be interested in Xsmith. Version 1.0 will be released imminently, > like within the next week. I'll send another email when it's released. To follow up in this thread, Xsmith version 1.0.0 is now available. You can find it in the Racket package catalog:

Re: [racket-users] Why struct type doesn't include field names?

2019-06-14 Thread Dmitry Pavlov
Hello, While we are at it: is it theoretically possible in Racket or Typed Racket (or will be possible in Racket 2 or Typed Racket 2) to access struct fields without repeating the name of the struct type again? Like in C typedef struct {   double x;   double y; } VeryLongStructureName;

Re: [racket-users] RacketCon hotel group rate

2019-06-14 Thread Matthew Flatt
Right --- the goal is not to provide the cheapest possible accommodations but to recommend a pretty good hotel and to try to improve the rate there. You should book at the Little America if that kind of hotel appeals to you. As full disclosure, RacketCon does lose some money if it turns out that

Re: [racket-users] RacketCon hotel group rate

2019-06-14 Thread Robby Findler
Not that you should change your system/plans, but attendees booking rooms at the hotel is actually part of what helps to pay for the event (because of the way the contracts between the event and the hotel works). In this case, I don't think there is any issue and RacketCon is, as far as I know,

[racket-users] Announce: Xsmith 1.0.0 Released

2019-06-14 Thread Eric Eide
I am pleased to announce that Xsmith version 1.0.0 is now available. You can find it in the Racket package catalog at: https://pkgs.racket-lang.org/package/xsmith Xsmith is a library for creating fuzz testers, also known as "fuzzers," for programming language compilers and interpreters. In

Re: [racket-users] managing competing access to filesystem within places

2019-06-14 Thread Matthew Butterick
> On Jun 14, 2019, at 4:34 PM, Matthew Flatt wrote: > > Sometimes, staying out of the error-triggering space is unavoidable, > and the possible errors are well enough defined by all filesystems, so > retrying is a workable solution. If you really have to be in that > space, then retry an

Re: [racket-users] RacketCon hotel group rate

2019-06-14 Thread Robby Findler
Very generous, thank you! Robby On Fri, Jun 14, 2019 at 4:24 PM David Storrs wrote: > > > > On Fri, Jun 14, 2019 at 5:16 PM Robby Findler > wrote: >> >> Not that you should change your system/plans, but attendees booking >> rooms at the hotel is actually part of what helps to pay for the

[racket-users] The search for routy

2019-06-14 Thread Gregor Kopp
Hi! I found here docs: https://docs.racket-lang.org/routy/ I'd like to try this for fast prototyping, but can't find the package as my google-fu is sloppy I guess. Any help please, sirs and madams? Thank you, Gregor -- You received this message because you are subscribed to the Google Groups

Re: [racket-users] The search for routy

2019-06-14 Thread Tom Gillespie
https://github.com/Junker/routy found via `racket routy git` seems right? On Thu, Jun 13, 2019 at 11:56 PM Gregor Kopp wrote: > Hi! > I found here docs: https://docs.racket-lang.org/routy/ > I'd like to try this for fast prototyping, but can't find the package as > my google-fu is sloppy I

Re: [racket-users] The search for routy

2019-06-14 Thread Gregor Kopp
Thank you very much! It's hot here... Am Freitag, 14. Juni 2019 08:58:53 UTC+2 schrieb Tom Gillespie: > > https://github.com/Junker/routy found via `racket routy git` seems right? > > On Thu, Jun 13, 2019 at 11:56 PM Gregor Kopp > wrote: > >> Hi! >> I found here docs:

RE: [racket-users] exact rationals in interactions window

2019-06-14 Thread Jos Koot
Yes, the intermediate output-string does the job. Thanks. Stupid me, not thinking of that by myself. Jos From: Robby Findler Sent: 13 June 2019 21:32 To: Jos Koot Cc: Racket Users Subject: Re: [racket-users] exact rationals in interactions window Does this help? (let ([cp (current-print)])