Re: [racket-users] My gmail auto receives new top-level entries from [Racket Users] but not reply entries...

2019-01-15 Thread Pierpaolo Bernardi
On Wed, Jan 16, 2019 at 12:04 AM infodeveloperdon wrote: > > Hi, > It has been awhile since I've been posting questions to [Racket Users]. > Previously, my gmail account would receive both my query entry and every > reply entry. (Of course, it actually received all entries and replies entered >

Re: [racket-users] My gmail auto receives new top-level entries from [Racket Users] but not reply entries...

2019-01-15 Thread Jack Rosenthal
On Tue, 15 Jan 2019 at 15:04 -0800, infodeveloperdon wrote: > Can anyone advise how I might begin to configure somewhere so that I > receive all reply entries in addition to the top-level entries that I > currently receive in my gmail account? I have this list set up on my own personal mail

Re: [racket-users] Scribble: ugly spacing due to missing SIntrapara

2019-01-15 Thread Stephen De Gabrielle
Hi Sorawee, This is a blight on an otherwise brilliant tutorial. Sadly I don't have the time to resolve it. Lacking a clear solution I've added an issue https://github.com/racket/web-server/issues/50 A short term solution much be to drop @defthing[] and use a monospace font, maybe using @tt[]?

[racket-users] My gmail auto receives new top-level entries from [Racket Users] but not reply entries...

2019-01-15 Thread infodeveloperdon
Hi, It has been awhile since I've been posting questions to [Racket Users]. Previously, my gmail account would receive both my query entry and every reply entry. (Of course, it actually received all entries and replies entered into [Racket Users].) When I began using [Racket Users] recently, I

Re: [racket-users] Escaping strings for the shell

2019-01-15 Thread 'John Clements' via Racket Users
Well, that sounds pretty fantastic. Looks like it’s time to take another look at Rash! John > On Jan 15, 2019, at 1:40 PM, William G Hatch wrote: > > On Tue, Jan 15, 2019 at 04:11:39PM -0500, 'John Clements' via Racket Users > wrote: >> Does rash have autocompletion of paths, yet? That’s my

Re: [racket-users] Escaping strings for the shell

2019-01-15 Thread William G Hatch
On Tue, Jan 15, 2019 at 04:11:39PM -0500, 'John Clements' via Racket Users wrote: Does rash have autocompletion of paths, yet? That’s my one super-super wishlist item. It has some basic path autocompletion -- if you type `ls /e` and hit tab it will complete to `ls /etc/`, and you can hit tab

Re: [racket-users] Escaping strings for the shell

2019-01-15 Thread 'John Clements' via Racket Users
Does rash have autocompletion of paths, yet? That’s my one super-super wishlist item. > On Jan 15, 2019, at 6:17 AM, 'Paulo Matos' via Racket Users > wrote: > > I am surprised nobody mentioned Rash. I have been using it for all my > shell scripting needs and it's awesome. > >

Re: [racket-users] Racket-openCV package use?7

2019-01-15 Thread Jack Rosenthal
On Sat, 12 Jan 2019 at 16:30 +, Stephen De Gabrielle wrote: > Hi > > Can can anyone point me to any package or other Racket code that uses the > Racket OpenCV package ? > > https://github.com/oetr/racket-opencv There is the "tutorials" directory in that repository (but this might be

Re: [racket-users] Help understanding cond expression

2019-01-15 Thread Michael Murdock MacLeod
On Saturday, January 12, 2019 8:34:35 PM PST Hassan Shahin wrote: > I have this definition for a procedure: > > (define type-of (lambda (item) > (cond >[(pair? item) 'pair] >[(null? item) 'empty-list] >

Re: [racket-users] Escaping strings for the shell

2019-01-15 Thread David Storrs
Oh, neat. Thank you. On Tue, Jan 15, 2019 at 9:18 AM 'Paulo Matos' via Racket Users wrote: > > I am surprised nobody mentioned Rash. I have been using it for all my > shell scripting needs and it's awesome. > > https://pkgs.racket-lang.org/package/rash > > On 29/12/2018 05:09, David Storrs

Re: [racket-users] Scribble: ugly spacing due to missing SIntrapara

2019-01-15 Thread Greg Hendershott
On Tue, Jan 15, 2019 at 10:04 AM Sorawee Porncharoenwase wrote: > > Yup. This is exactly the proposal I made above, but you stated it far more > clear :) Whoops. Insufficient coffee. Sorry! -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To

[racket-users] Re: Functions that are sometimes tail recursive

2019-01-15 Thread Sorawee Porncharoenwase
Also note that that there's something called "tail recursion modulo cons" (https://en.wikipedia.org/wiki/Tail_call#Tail_recursion_modulo_cons), though as I understand, Racket didn't implement it. On Tuesday, January 15, 2019 at 7:29:28 AM UTC-8, Sorawee Porncharoenwase wrote: > > Yes, Racket

Re: [racket-users] Functions that are sometimes tail recursive

2019-01-15 Thread Matthias Felleisen
> On Jan 15, 2019, at 10:13 AM, Will Jukes wrote: > > Hi everyone, > > I was helping a student the other day with a problem where they were to write > a recursive function that uses trial division to return a list of the prime > factors of an integer (no fancy optimizations, these are high

[racket-users] Re: Functions that are sometimes tail recursive

2019-01-15 Thread Sorawee Porncharoenwase
Yes, Racket recognizes the distinction and "optimize" those calls that can be optimized. Though people might not be happy with the word "optimize". To quote Shriram: It is not an "optimization". An optimization is an optional > thing; you can't rely on it being done. When you program

[racket-users] Functions that are sometimes tail recursive

2019-01-15 Thread Will Jukes
Hi everyone, I was helping a student the other day with a problem where they were to write a recursive function that uses trial division to return a list of the prime factors of an integer (no fancy optimizations, these are high school kids who don't have a lot of number theory). It looked

Re: [racket-users] Are the terms "function" and "procedure" synonymous in Racket?

2019-01-15 Thread Greg Hendershott
I feel like every traditional term is subject to "how many angels can dance on the tip of a parenthesis?" debates. For example I prefer "function" but if we rename procedure-arity to function-arity there will be people who complain that 1 is the only correct value. :) There are terms like

Re: [racket-users] Scribble: ugly spacing due to missing SIntrapara

2019-01-15 Thread Sorawee Porncharoenwase
Yup. This is exactly the proposal I made above, but you stated it far more clear :) On Tuesday, January 15, 2019 at 6:50:41 AM UTC-8, Greg Hendershott wrote: > > It seems to me that each of those `defthing`s has reasonably good text. > > The problem is that the text is in the preceding

Re: [racket-users] Scribble: ugly spacing due to missing SIntrapara

2019-01-15 Thread Greg Hendershott
It seems to me that each of those `defthing`s has reasonably good text. The problem is that the text is in the preceding paragraph, instead of inside `defthing`. The motivation is it's in "user's guide" style not "reference" style. But I'd argue these `defthing` forms belong in reference docs

Re: [racket-users] Escaping strings for the shell

2019-01-15 Thread 'Paulo Matos' via Racket Users
I am surprised nobody mentioned Rash. I have been using it for all my shell scripting needs and it's awesome. https://pkgs.racket-lang.org/package/rash On 29/12/2018 05:09, David Storrs wrote: > I am using 'system' to offload some work onto wget and other > applications in a few one-off scripts.