Re: [racket-users] Reducing parentheses without language damage.

2020-05-01 Thread David Storrs
On Fri, May 1, 2020, 11:25 PM Raoul Duke wrote: > $0.02, whitespace sensitivity is just bad ux in the long run. haskell can > get away with it more than python because haskell can be written more > concisely i feel than python. but even in H it is sorta unfortunate. > > i like how iirc clojure us

Re: [racket-users] Reducing parentheses without language damage.

2020-05-01 Thread Raoul Duke
$0.02, whitespace sensitivity is just bad ux in the long run. haskell can get away with it more than python because haskell can be written more concisely i feel than python. but even in H it is sorta unfortunate. i like how iirc clojure uses sexprs but allows other kinds of parens, fairly arbitrar

Re: [racket-users] Reducing parentheses without language damage.

2020-05-01 Thread Liwei Chou
Any one consider this style? Minimizing visual interference while preserving parentheses. Even Java program can be written like Python. [image: main-qimg-8d66f35cd3da4c55a380d0d08c11d930.png] https://www.quora.com/What-is-the-most-frustrating-thing-about-being-a-computer-programmer/answer/Jesse-

Re: [racket-users] Reducing parentheses without language damage.

2020-05-01 Thread George Neuner
On 5/1/2020 4:35 PM, Dexter Lagan wrote:   Is there value in Rob Pike’s comment on avoiding significant white space in the Go language? “We have had extensive experience tracking down build and test failures caused by cross-language builds where a Python snippet embedded in another language,

Re: [racket-users] Should I stop sending packages to the catalog?

2020-05-01 Thread Alex Harsanyi
On Friday, May 1, 2020 at 9:12:55 PM UTC+8, Jesse Alama wrote: > > On Thursday, April 30, 2020 at 2:57:45 PM UTC+2, Jay McCarthy wrote: >> >> >> This is simply a social standard though. There is nothing that >> technically prevents you from breaking compatibility, except that your >> users may

Re: [racket-users] Reducing parentheses without language damage.

2020-05-01 Thread Dexter Lagan
Is there value in Rob Pike’s comment on avoiding significant white space in the Go language? “We have had extensive experience tracking down build and test failures caused by cross-language builds where a Python snippet embedded in another language, for instance through a SWIG invocation, is

Re: [racket-users] Reducing parentheses without language damage.

2020-05-01 Thread George Neuner
I haven't followed all the discussion regarding a potential successor to Racket.  AFAIHS, no one actually has suggested a required indentation scheme ala Python, but since source indentation (and formatting in general) currently is under discussion, I wanted to make known my feelings on the

Re: [racket-users] Questions about working on DrRacket and gui

2020-05-01 Thread Matthew Flatt
At Fri, 1 May 2020 16:59:22 +0200, Dexter Lagan wrote: > I'd like to download DrRacket's source and profile it, say to improve > scrolling performance or track this post-startup lock-up : Does the start-time delay happen if you just type a number and hit return, as opposed to typing an identifie

Re: [racket-users] Re: Should I stop sending packages to the catalog?

2020-05-01 Thread Sage Gerard
As long as I don't have to keep reorganizing my code to accommodate the tooling, then it's a night and day improvement. Would you mind terribly if I worked with you? I was mulling over this myself in the dev list, but I am happy to aid any existing effort. Original Message On

[racket-users] ICFP 2020 will be held ONLINE Aug 23-28

2020-05-01 Thread 'Sam Tobin-Hochstadt' via users-redirect
The ICFP 2020 organizers would like to announce that the conference and co-located events, originally scheduled for August 23-28, in Jersey City, New Jersey, will now be held online during the same dates. Further information for presenters, authors, attendees, sponsors, and the ICFP community wil

Re: [racket-users] a minor regexp question (and a how-could-I-answer-it-myself? question)

2020-05-01 Thread David Storrs
For the record, it's probably better to stick with #px in all cases. The vast majority of non-Racket code is based off the pcre library, which stands for "Perl-compatible regular expressions" so if you stick with #px the regex will be more familiar to more people. Plus, standardizing on one notat

Re: [racket-users] Re: Should I stop sending packages to the catalog?

2020-05-01 Thread Bogdan Popa
Sam Tobin-Hochstadt writes: > This is very cool! One question -- for "main-distribution" packages, > are you snapshotting the most-recent release catalog? Or > pkgs.racket-lang.org? The latter is simpler, but the former is > probably needed to make the examples in the README work. Otherwise, > i

Re: [racket-users] Re: Should I stop sending packages to the catalog?

2020-05-01 Thread Sam Tobin-Hochstadt
This is very cool! One question -- for "main-distribution" packages, are you snapshotting the most-recent release catalog? Or pkgs.racket-lang.org? The latter is simpler, but the former is probably needed to make the examples in the README work. Otherwise, if, say, "typed-racket-lib" on May 1 depen

Re: [racket-users] Reducing parentheses without language damage.

2020-05-01 Thread Christopher Lemmer Webber
Sorawee Porncharoenwase writes: >> >> I hate being at the mercy of whatever editor I'm stuck using. > > > I agree with this in principle, but in practice, it's really a matter of > what mainstream editors support. Editors in the past don't universally > support automatic indentation, and I could i

Re: [racket-users] Re: Should I stop sending packages to the catalog?

2020-05-01 Thread Bogdan Popa
Alex Harsanyi writes: > As an application writer, I am on the other side of this problem, by > depending on other packages. Having limited time to work on my project I > want to upgrade package dependencies at my own pace. I'm in a similar position since I operate a few Racket applications. I'

Re: [racket-users] Questions about working on DrRacket and gui

2020-05-01 Thread Dexter Lagan
Thanks I’ll look into this. Dex > On May 1, 2020, at 5:03 PM, Sorawee Porncharoenwase > wrote: > >  > Sam just suggested me in the other email thread that a much easier way to do > things is to download and install Minimal Racket, then install DrRacket from > source. > >> On Fri, May 1,

Re: [racket-users] Questions about working on DrRacket and gui

2020-05-01 Thread Sorawee Porncharoenwase
Sam just suggested me in the other email thread that a much easier way to do things is to download and install Minimal Racket, then install DrRacket from source. On Fri, May 1, 2020 at 7:59 AM Dexter Lagan wrote: > Hi, > > I apologize in advance if my questions are naïve or have been asked > p

[racket-users] Questions about working on DrRacket and gui

2020-05-01 Thread Dexter Lagan
Hi, I apologize in advance if my questions are naïve or have been asked previously. I read the 'Building Racket from Source' guide and couldn't find answers to some specific questions. I'm new to Git. I'd like to download DrRacket's source and profile it, say to improve scrolling performance

Re: [racket-users] Should I stop sending packages to the catalog?

2020-05-01 Thread Laurent
For your second point, you can never really know what other work depends on your package. You could display a message in the new package or in the readme for example, but that's likely not going to work well for various reasons. (but see my last comment) However, what Jay is saying I believe (corr

Re: [racket-users] a minor regexp question (and a how-could-I-answer-it-myself? question)

2020-05-01 Thread Tim Hanson
Thanks, Jens, much appreciated. I suspect I even knew this once and had since forgotten it. (I even glanced at the docs, saw the two kinds, but didn’t pause long enough to wonder if it mattered to me.) -- You received this message because you are subscribed to the Google Groups "Racket Users"

Re: [racket-users] Should I stop sending packages to the catalog?

2020-05-01 Thread Hendrik Boom
On Fri, May 01, 2020 at 06:12:55AM -0700, Jesse Alama wrote: > On Thursday, April 30, 2020 at 2:57:45 PM UTC+2, Jay McCarthy wrote: > > > > > > This is simply a social standard though. There is nothing that > > technically prevents you from breaking compatibility, except that your > > users may b

Re: [racket-users] Reducing parentheses without language damage.

2020-05-01 Thread Hendrik Boom
On Thu, Apr 30, 2020 at 02:40:00PM -0700, Sorawee Porncharoenwase wrote: > > This is Nia's parendown: https://docs.racket-lang.org/parendown/index.html Just wondering: Is there a way to write division if Nia's parendown is in effect? There would be no problem with this if it was originally desi

Re: [racket-users] Should I stop sending packages to the catalog?

2020-05-01 Thread Jesse Alama
On Thursday, April 30, 2020 at 2:57:45 PM UTC+2, Jay McCarthy wrote: > > > This is simply a social standard though. There is nothing that > technically prevents you from breaking compatibility, except that your > users may be upset. You can post things on the package server that > follows any ru

Re: [racket-users] a minor regexp question (and a how-could-I-answer-it-myself? question)

2020-05-01 Thread Jens Axel Søgaard
Den fre. 1. maj 2020 kl. 14.20 skrev Tim Hanson : > hi, just now I'm debugging a regular expression and trying to understand > why this: > > > (regexp-match-positions #rx"[-+][0-9]+" "-0500") > '((0 . 5)) > > works as I expect, whereas this: > > > (regexp-match-positions #rx"[-+][0-9]{4}" "-

[racket-users] a minor regexp question (and a how-could-I-answer-it-myself? question)

2020-05-01 Thread Tim Hanson
hi, just now I'm debugging a regular expression and trying to understand why this: > (regexp-match-positions #rx"[-+][0-9]+" "-0500") '((0 . 5)) works as I expect, whereas this: > (regexp-match-positions #rx"[-+][0-9]{4}" "-0500") #f doesn't. (My naive opinion is the second expression