Re: [racket-users] [racket users] make-keyword-procedure follow-up

2020-10-09 Thread Kevin Forchione
> On Aug 30, 2019, at 1:19 AM, Philip McGrath wrote: > > Hi Kevin, > > This is interesting! A number of people have wanted conveniences around > `keyword-apply` and accepting the same keywords as some other function. (The > trouble is, different people have different ideas of what those conve

[racket-users] Re: [racket-dev] RacketCon is next weekend!

2020-10-09 Thread 'John Clements' via Racket Users
Just checked out the gather space. It looks very cool. How about some easter eggs? John > On Oct 9, 2020, at 7:07 AM, Jay McCarthy wrote: > > To the friends and followers of Racket, > > You have produced thousands of commits since last Con. You have honored your > ancestors and brought glory

Re: [racket-users] Clearer code in DrRacket?

2020-10-09 Thread Shu-Hung You
Here is an example that provides different colors for some particular forms such as define, require, lambda etc. However, these forms ('keywords') are recognized literally by the lexer instead of semantically as in Check Syntax. Therefore it will classify non-keywords as keywords from time to time.

Re: [racket-users] Clearer code in DrRacket?

2020-10-09 Thread George Neuner
On 10/9/2020 10:11 AM, Adam El Mazouari wrote: An example is this: (define (square-all lst) (if (null? lst) '() (cons (square (car lst)) (square-all (cdr lst) As you can see, you've got: * methods included by default (define, cons) * booleans (null?) * user-introduced vars (lst)

Re: [racket-users] Clearer code in DrRacket?

2020-10-09 Thread Sam Tobin-Hochstadt
If you'd like to see different colors for imported identifiers, then you can click the "Check Syntax" button in DrRacket. The attached picture shows what it looks like. Note that there's not a difference between `cons` and `null?` because those are both functions. You can adjust the particular co

Re: [racket-users] Clearer code in DrRacket?

2020-10-09 Thread Adam El Mazouari
... and what is this thing exactly? --Adam. On Fri, Oct 9, 2020 at 4:15 PM Jason Hemann wrote: > https://racket-mode.com/ > > > > ¯\_(ツ)_/¯ > > JBH > > On Fri, Oct 9, 2020 at 10:12 AM Adam El Mazouari < > adam.elmazou...@gmail.com> wrote: > >> An example is this: >> >> (define (square-all

Re: [racket-users] Using Chez Scheme libraries with Racket CS?

2020-10-09 Thread primer
Great! Thanks for the pointer to the docs. On Friday, October 9, 2020 at 6:04:31 AM UTC-7 Matthew Flatt wrote: > At Thu, 8 Oct 2020 22:38:04 -0700 (PDT), primer wrote: > > I'm new to Racket and have not yet played with Racket CS. My question is > > whether the Chez Scheme libraries are availabl

Re: [racket-users] Clearer code in DrRacket?

2020-10-09 Thread Adam El Mazouari
An example is this: (define (square-all lst) (if (null? lst) '() (cons (square (car lst)) (square-all (cdr lst) As you can see, you've got: - methods included by default (define, cons) - booleans (null?) - user-introduced vars (lst) shown in the same color. It's really not clear.

[racket-users] RacketCon is next weekend!

2020-10-09 Thread Jay McCarthy
To the friends and followers of Racket, You have produced thousands of commits since last Con. You have honored your ancestors and brought glory to Racket. RacketCon is next weekend, from Friday to Sunday, come and see. https://con.racket-lang.org/ Kathi Fisler will keynote, and we will hear abo

Re: [racket-users] Clearer code in DrRacket?

2020-10-09 Thread Sam Tobin-Hochstadt
Can you give an example of which things you'd like to be different? We usually use "variable" and "identifier" for very similar meanings when discussing Racket, for example. Sam On Fri, Oct 9, 2020 at 8:16 AM Adam El Mazouari wrote: > > Hello everyone. > > I've started using DrRacket a couple of

Re: [racket-users] Using Chez Scheme libraries with Racket CS?

2020-10-09 Thread Matthew Flatt
At Thu, 8 Oct 2020 22:38:04 -0700 (PDT), primer wrote: > I'm new to Racket and have not yet played with Racket CS. My question is > whether the Chez Scheme libraries are available. For example, is it > possible to do something like (require chezscheme) and then use > (fork-thread ...) to creat

[racket-users] Clearer code in DrRacket?

2020-10-09 Thread Adam El Mazouari
Hello everyone. I've started using DrRacket a couple of weeks ago and I can't get used to the color theme. Variables, identifiers, methods, all of them are in blue. It's really unintuitive. Does anybody know a good plugin that differentiates these in a clear way for the human eye? Or, if you

[racket-users] [DrRacket] Is there a way to go to last edit location?

2020-10-09 Thread Rock Nie
Hi, When I am using DrRacket recently, I often find myself wanting to go back to the last edit location which I can do in other editors. However, I did not find a similar function in DrRacket. Is there a way to do this? With a plugin maybe? Rock -- You received this message because you are subs