Re: [racket-users] Re: Execution ends before log message is displayed

2019-01-23 Thread George Neuner




On 1/23/2019 12:02 PM, Brian Adkins wrote:
It looks like you're still using an arbitrary wait time to assume the 
logging event queue is empty. I like it much better than my sleep 
idea, but it seems like there is still the problem of choosing between 
1) using a timeout value to short and missing a log message, or 2) 
using a timeout value too long and wasting time waiting.




I am relying on all posts to the queue having been made *before* the 
stop event is sent.  I am NOT relying on wait time - there just has to 
be some timeout specified so the sync call returns when the queue is empty.


George

--
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 racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[racket-users] Re: Scribble examples for languages other than Racket

2019-01-23 Thread Ryan Kramer
OK, I found a much better way. Rather than trying to tweak a syntax object 
to pass in to "examples", it's much easier to use the Low-Level Scribble 
API to rebuild a document fragment that looks like what the built-in 
"examples" would build. What I have now just needs a little CSS and it 
looks close enough. 
https://github.com/default-kramer/plisqin/blob/87a0cca6e2909f5d18c20235a43215f09f1db779/scribblings/TEMP-scribble-lang-idea.scrbl

-- 
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 racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [racket-users] snake game

2019-01-23 Thread orenpa11
Thanks

On Wednesday, January 23, 2019 at 10:49:01 PM UTC+2, Kieron Hardy wrote:
>
> It seems the metadata lines added by DrRacket (mentioned by John) are 
> processed when the a source file is loaded into DrRacket (via the menu 
> option File/Open), but are not processed if the source code is directly 
> copied (e.g. from a browser window) into a DrRacket window and then 
> executed with the 'Run' button.
>
> The metadata includes a #reader directive, e.g.:
> (#reader(lib "htdp-beginner-abbr-reader.ss" "lang")((modname snake-full) 
> ...) 
>
> This reader directive appears to be silently ignored by DrRacket when the 
> source is 'Run', even though DrRacket shows "#reader" in red (as when an 
> error is detected). The actions taken by DrRacket when 'Run' is pressed 
> seem to depend on the settings in effect when the code is executed, which 
> could be nothing, or throwing a confusing error. 
>
> The solution for the original poster's issue is as John directs; remove 
> the metadata (i.e. #reader directive) and manually set the language.
>
> However, I feel that DrRacket should recognize and act on (and perhaps 
> also remove/hide from view) the metadata if the metadata occurs as from a 
> copy/paste directly into a DrRacket window (e.g. as from a URL). The 
> current behaviour is, I think, a bug and a trap (perhaps showstopping) for 
> a new user experimenting with Racket. 
>
> Note that the Racket executable seems to process the metadata properly, 
> understanding the language to use, etc.. so that the code behaves as 
> intended.
>
> On Wed, Jan 23, 2019 at 12:32 PM K H > 
> wrote:
>
>> Hello Or,
>>
>> The language is not "Pretty Big".
>>
>> You should be using "Beginning Student with List Abbreviations".
>>
>> The DrRacket metadata lines referred to by John set the correct language. 
>> In your case you must have changed the language somehow. Or perhaps the 
>> file needs to be saved before the metadata is acted upon.
>>
>> HTH,
>>
>> Kieron.
>>
>>
>> On Wed, Jan 23, 2019 at 12:17 PM 'John Clements' via Racket Users <
>> racket...@googlegroups.com > wrote:
>>
>>> Interesting problem; your screenshot shows header text that should not 
>>> appear in the window, which suggests to me that you copied and pasted the 
>>> text from somewhere else into a buffer where the language level was already 
>>> set. It looks to me like you should do the following:
>>>
>>> 1) Delete the first three lines of the file.
>>> 2) Set the language level to “beginner with list abbreviations”.
>>> 3) Click “run”
>>>
>>> John Clements
>>>
>>> > On Jan 23, 2019, at 10:44 AM, orenpa11 > 
>>> wrote:
>>> > 
>>> > Hi David,
>>> > Thanks for your swift response ,I simply do not know how to run this 
>>> program.
>>> > I thought that when I press the run button I should see the snake GUI .
>>> > 
>>> > Maybe the language is not pretty big ?
>>> > Thanks,
>>> > Or
>>> > 
>>> > 
>>> > On Wednesday, January 23, 2019 at 8:25:32 PM UTC+2, David K. Storrs 
>>> wrote:
>>> > What happens when you run it?  Are you getting any error messages? 
>>> > 
>>> > On Wed, Jan 23, 2019 at 1:01 PM orenpa11  wrote: 
>>> > > 
>>> > > Hi 
>>> > > I am trying to implemet this code of "snake game " 
>>> > > https://course.ccs.neu.edu/csu211/code/snake-full.ss 
>>> > > 
>>> > > in DrRacket (Pretty big) 
>>> > >  But when I run it it is not working . 
>>> > > any Idea ? 
>>> > > 
>>> > > Thanks 
>>> > > Or 
>>> > > 
>>> > > -- 
>>> > > 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 racket-users...@googlegroups.com. 
>>> > > For more options, visit https://groups.google.com/d/optout. 
>>> > 
>>> > -- 
>>> > 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 racket-users...@googlegroups.com .
>>> > For more options, visit https://groups.google.com/d/optout.
>>>
>>>
>>>
>>> -- 
>>> 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 racket-users...@googlegroups.com .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>

-- 
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 racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [racket-users] snake game

2019-01-23 Thread orenpa11
Thanks I will check it.




On Wednesday, January 23, 2019 at 9:32:56 PM UTC+2, Kieron Hardy wrote:
>
> Hello Or,
>
> The language is not "Pretty Big".
>
> You should be using "Beginning Student with List Abbreviations".
>
> The DrRacket metadata lines referred to by John set the correct language. 
> In your case you must have changed the language somehow. Or perhaps the 
> file needs to be saved before the metadata is acted upon.
>
> HTH,
>
> Kieron.
>
>
> On Wed, Jan 23, 2019 at 12:17 PM 'John Clements' via Racket Users <
> racket...@googlegroups.com > wrote:
>
>> Interesting problem; your screenshot shows header text that should not 
>> appear in the window, which suggests to me that you copied and pasted the 
>> text from somewhere else into a buffer where the language level was already 
>> set. It looks to me like you should do the following:
>>
>> 1) Delete the first three lines of the file.
>> 2) Set the language level to “beginner with list abbreviations”.
>> 3) Click “run”
>>
>> John Clements
>>
>> > On Jan 23, 2019, at 10:44 AM, orenpa11 > 
>> wrote:
>> > 
>> > Hi David,
>> > Thanks for your swift response ,I simply do not know how to run this 
>> program.
>> > I thought that when I press the run button I should see the snake GUI .
>> > 
>> > Maybe the language is not pretty big ?
>> > Thanks,
>> > Or
>> > 
>> > 
>> > On Wednesday, January 23, 2019 at 8:25:32 PM UTC+2, David K. Storrs 
>> wrote:
>> > What happens when you run it?  Are you getting any error messages? 
>> > 
>> > On Wed, Jan 23, 2019 at 1:01 PM orenpa11  wrote: 
>> > > 
>> > > Hi 
>> > > I am trying to implemet this code of "snake game " 
>> > > https://course.ccs.neu.edu/csu211/code/snake-full.ss 
>> > > 
>> > > in DrRacket (Pretty big) 
>> > >  But when I run it it is not working . 
>> > > any Idea ? 
>> > > 
>> > > Thanks 
>> > > Or 
>> > > 
>> > > -- 
>> > > 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 racket-users...@googlegroups.com. 
>> > > For more options, visit https://groups.google.com/d/optout. 
>> > 
>> > -- 
>> > 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 racket-users...@googlegroups.com .
>> > For more options, visit https://groups.google.com/d/optout.
>>
>>
>>
>> -- 
>> 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 racket-users...@googlegroups.com .
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 
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 racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [racket-users] snake game

2019-01-23 Thread K H
It seems the metadata lines added by DrRacket (mentioned by John) are
processed when the a source file is loaded into DrRacket (via the menu
option File/Open), but are not processed if the source code is directly
copied (e.g. from a browser window) into a DrRacket window and then
executed with the 'Run' button.

The metadata includes a #reader directive, e.g.:
(#reader(lib "htdp-beginner-abbr-reader.ss" "lang")((modname snake-full)
...)

This reader directive appears to be silently ignored by DrRacket when the
source is 'Run', even though DrRacket shows "#reader" in red (as when an
error is detected). The actions taken by DrRacket when 'Run' is pressed
seem to depend on the settings in effect when the code is executed, which
could be nothing, or throwing a confusing error.

The solution for the original poster's issue is as John directs; remove the
metadata (i.e. #reader directive) and manually set the language.

However, I feel that DrRacket should recognize and act on (and perhaps also
remove/hide from view) the metadata if the metadata occurs as from a
copy/paste directly into a DrRacket window (e.g. as from a URL). The
current behaviour is, I think, a bug and a trap (perhaps showstopping) for
a new user experimenting with Racket.

Note that the Racket executable seems to process the metadata properly,
understanding the language to use, etc.. so that the code behaves as
intended.

On Wed, Jan 23, 2019 at 12:32 PM K H  wrote:

> Hello Or,
>
> The language is not "Pretty Big".
>
> You should be using "Beginning Student with List Abbreviations".
>
> The DrRacket metadata lines referred to by John set the correct language.
> In your case you must have changed the language somehow. Or perhaps the
> file needs to be saved before the metadata is acted upon.
>
> HTH,
>
> Kieron.
>
>
> On Wed, Jan 23, 2019 at 12:17 PM 'John Clements' via Racket Users <
> racket-users@googlegroups.com> wrote:
>
>> Interesting problem; your screenshot shows header text that should not
>> appear in the window, which suggests to me that you copied and pasted the
>> text from somewhere else into a buffer where the language level was already
>> set. It looks to me like you should do the following:
>>
>> 1) Delete the first three lines of the file.
>> 2) Set the language level to “beginner with list abbreviations”.
>> 3) Click “run”
>>
>> John Clements
>>
>> > On Jan 23, 2019, at 10:44 AM, orenpa11  wrote:
>> >
>> > Hi David,
>> > Thanks for your swift response ,I simply do not know how to run this
>> program.
>> > I thought that when I press the run button I should see the snake GUI .
>> >
>> > Maybe the language is not pretty big ?
>> > Thanks,
>> > Or
>> >
>> >
>> > On Wednesday, January 23, 2019 at 8:25:32 PM UTC+2, David K. Storrs
>> wrote:
>> > What happens when you run it?  Are you getting any error messages?
>> >
>> > On Wed, Jan 23, 2019 at 1:01 PM orenpa11  wrote:
>> > >
>> > > Hi
>> > > I am trying to implemet this code of "snake game "
>> > > https://course.ccs.neu.edu/csu211/code/snake-full.ss
>> > >
>> > > in DrRacket (Pretty big)
>> > >  But when I run it it is not working .
>> > > any Idea ?
>> > >
>> > > Thanks
>> > > Or
>> > >
>> > > --
>> > > 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 racket-users...@googlegroups.com.
>> > > For more options, visit https://groups.google.com/d/optout.
>> >
>> > --
>> > 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 racket-users+unsubscr...@googlegroups.com.
>> > For more options, visit https://groups.google.com/d/optout.
>>
>>
>>
>> --
>> 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 racket-users+unsubscr...@googlegroups.com.
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 
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 racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [racket-users] snake game

2019-01-23 Thread K H
Hello Or,

The language is not "Pretty Big".

You should be using "Beginning Student with List Abbreviations".

The DrRacket metadata lines referred to by John set the correct language.
In your case you must have changed the language somehow. Or perhaps the
file needs to be saved before the metadata is acted upon.

HTH,

Kieron.


On Wed, Jan 23, 2019 at 12:17 PM 'John Clements' via Racket Users <
racket-users@googlegroups.com> wrote:

> Interesting problem; your screenshot shows header text that should not
> appear in the window, which suggests to me that you copied and pasted the
> text from somewhere else into a buffer where the language level was already
> set. It looks to me like you should do the following:
>
> 1) Delete the first three lines of the file.
> 2) Set the language level to “beginner with list abbreviations”.
> 3) Click “run”
>
> John Clements
>
> > On Jan 23, 2019, at 10:44 AM, orenpa11  wrote:
> >
> > Hi David,
> > Thanks for your swift response ,I simply do not know how to run this
> program.
> > I thought that when I press the run button I should see the snake GUI .
> >
> > Maybe the language is not pretty big ?
> > Thanks,
> > Or
> >
> >
> > On Wednesday, January 23, 2019 at 8:25:32 PM UTC+2, David K. Storrs
> wrote:
> > What happens when you run it?  Are you getting any error messages?
> >
> > On Wed, Jan 23, 2019 at 1:01 PM orenpa11  wrote:
> > >
> > > Hi
> > > I am trying to implemet this code of "snake game "
> > > https://course.ccs.neu.edu/csu211/code/snake-full.ss
> > >
> > > in DrRacket (Pretty big)
> > >  But when I run it it is not working .
> > > any Idea ?
> > >
> > > Thanks
> > > Or
> > >
> > > --
> > > 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 racket-users...@googlegroups.com.
> > > For more options, visit https://groups.google.com/d/optout.
> >
> > --
> > 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 racket-users+unsubscr...@googlegroups.com.
> > For more options, visit https://groups.google.com/d/optout.
>
>
>
> --
> 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 racket-users+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [racket-users] snake game

2019-01-23 Thread 'John Clements' via Racket Users
Interesting problem; your screenshot shows header text that should not appear 
in the window, which suggests to me that you copied and pasted the text from 
somewhere else into a buffer where the language level was already set. It looks 
to me like you should do the following:

1) Delete the first three lines of the file.
2) Set the language level to “beginner with list abbreviations”.
3) Click “run”

John Clements

> On Jan 23, 2019, at 10:44 AM, orenpa11  wrote:
> 
> Hi David,
> Thanks for your swift response ,I simply do not know how to run this program.
> I thought that when I press the run button I should see the snake GUI .
> 
> Maybe the language is not pretty big ?
> Thanks,
> Or
> 
> 
> On Wednesday, January 23, 2019 at 8:25:32 PM UTC+2, David K. Storrs wrote:
> What happens when you run it?  Are you getting any error messages? 
> 
> On Wed, Jan 23, 2019 at 1:01 PM orenpa11  wrote: 
> > 
> > Hi 
> > I am trying to implemet this code of "snake game " 
> > https://course.ccs.neu.edu/csu211/code/snake-full.ss 
> > 
> > in DrRacket (Pretty big) 
> >  But when I run it it is not working . 
> > any Idea ? 
> > 
> > Thanks 
> > Or 
> > 
> > -- 
> > 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 racket-users...@googlegroups.com. 
> > For more options, visit https://groups.google.com/d/optout. 
> 
> -- 
> 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 racket-users+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.



-- 
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 racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [racket-users] snake game

2019-01-23 Thread orenpa11
Hi David,
Thanks for your swift response ,I simply do not know how to run this 
program.
I thought that when I press the run button I should see the snake GUI .

Maybe the language is not pretty big ?
Thanks,
Or


On Wednesday, January 23, 2019 at 8:25:32 PM UTC+2, David K. Storrs wrote:
>
> What happens when you run it?  Are you getting any error messages? 
>
> On Wed, Jan 23, 2019 at 1:01 PM orenpa11 > 
> wrote: 
> > 
> > Hi 
> > I am trying to implemet this code of "snake game " 
> > https://course.ccs.neu.edu/csu211/code/snake-full.ss 
> > 
> > in DrRacket (Pretty big) 
> >  But when I run it it is not working . 
> > any Idea ? 
> > 
> > Thanks 
> > Or 
> > 
> > -- 
> > 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 racket-users...@googlegroups.com . 
> > For more options, visit https://groups.google.com/d/optout. 
>

-- 
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 racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [racket-users] snake game

2019-01-23 Thread David Storrs
What happens when you run it?  Are you getting any error messages?

On Wed, Jan 23, 2019 at 1:01 PM orenpa11  wrote:
>
> Hi
> I am trying to implemet this code of "snake game "
> https://course.ccs.neu.edu/csu211/code/snake-full.ss
>
> in DrRacket (Pretty big)
>  But when I run it it is not working .
> any Idea ?
>
> Thanks
> Or
>
> --
> 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 racket-users+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
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 racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[racket-users] snake game

2019-01-23 Thread orenpa11
Hi
I am trying to implemet this code of "snake game "
https://course.ccs.neu.edu/csu211/code/snake-full.ss

in DrRacket (Pretty big)
 But when I run it it is not working .
any Idea ?

Thanks
Or

-- 
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 racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [racket-users] Re: Execution ends before log message is displayed

2019-01-23 Thread Brian Adkins
Thanks. 

It looks like you're still using an arbitrary wait time to assume the 
logging event queue is empty. I like it much better than my sleep idea, but 
it seems like there is still the problem of choosing between 1) using a 
timeout value to short and missing a log message, or 2) using a timeout 
value too long and wasting time waiting.

On Sunday, January 20, 2019 at 9:47:34 PM UTC-5, gneuner2 wrote:
>
>
> On 1/20/2019 6:34 PM, Brian Adkins wrote:
>
> Thanks.  
>
> I do use dynamic-wind in various ways now, but I'm not sure how it would 
> help me in this particular scenario. My log receiver thread is simply in a 
> loop sync'ing on the logger, so I can't wait for my thread. I don't know 
> how to determine when all the log messages have been received. Sleeping for 
> a second would probably do it, but that seems pretty kludgy :)
>
>
> You make the the logging thread wait for either a message or a stop event, 
> and once it receives the 'stop' event, have it empty the message queue 
> before exiting.  E.g.,
>
>:
> ; loop until stop-evt
> (do [
> (event (sync receiver stop-evt)
>(sync receiver stop-evt))
> ]
>  ((equal? event stop-evt) 'flush_queue)
>  (write-one-event event))
>
> ; loop until queue empty
> (do [
> (event (sync/timeout 0.01 receiver)
>(sync/timeout 0.01 receiver))
> ]
>  ((equal? event #f) 'stop)
>  (write-one-event event))
> :
> ;end of logging thread
>
>
> At the point you send the stop event, all the messages should have been 
> posted even if not yet printed.
>
> In the main thread you [call some function to  send the stop event and 
> wait for the logger thread to finish.  Where you want to use dynamic-wind 
> is if the main [or other processing] thread can be interrupted (Ctrl-C, 
> etc.) - you want to make sure the logger gets shut down cleanly no matter 
> how the main thread ends.
>
>
> This is mainly a problem for logging in tests because they can finish so 
> quickly. For my main application, I don't think it will be much of an 
> issue. For my tests, I just created a wrapper that uses the default logger, 
> and I'll control the amount of output with a PLTSTDERR env variable.
>
>
> Tests can be a problem anyway because the tests may need significant setup 
> just like the real program.  I pretty much always wrap my code in a 
> dynamic-wind:  regardless of setup, I want to be sure I can clean up 
> afterwards even if I had to break it.
>
> George
>

-- 
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 racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [racket-users] Collections and data structures wishlist?

2019-01-23 Thread Greg Hendershott
>> - A separation between using lists as homogeneous collections and using 
>> lists as fixed-size tuples. So there'd be a separate `tuple?` data type 
>> that's structurally equivalent to a list but meant to be used differently. 
>> For example, `(list/c number?)` would mean a list of many numbers, but 
>> `(tuple/c number?)` would mean a tuple of size 1 containing a number.
>
> "It is better to have 100 functions operate on one data structure than 10 
> functions on 10 data structures.” 
> http://www.cs.yale.edu/homes/perlis-alan/quotes.html
> "It is better to have 100 transducers operate on one data structure interface 
> than 10 functions on 10 data structures.” Rich Hickey, History of Clojure

Well also, I thought `list/c` already means "tuple"?

(listof number?) is a list of many numbers.
(list/c number?) is a list of one number.


I think it's within the Racket spirit to make a little #lang for
certain audiences or projects. At some org, "tuple/c" might be a
helpful alias. Or, for some other team, it's not, and in fact even
"list/c" is redefined to raise an error, "Please use structs instead
of ad hoc tuples."

-- 
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 racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.