Re: [racket-users] How to tell if a package has been downloaded?

2018-04-24 Thread David Storrs
Great. Thank you, everyone. I'll make the change and then announce it in a separate email so it's easy to search on. On Mon, Apr 23, 2018 at 11:54 PM, Greg Hendershott wrote: > I agree with 3. Which is why I said that. :) > > I also agree with the rest. What I didn't say is, I imagined the >

[racket-users] Breaking change to package 'handy'

2018-04-24 Thread David Storrs
The list-utils function in the 'handy' package includes 'multi-partition', which is like the built-in 'partition' except that it can partition into any number of groups. This function used to have multiple return and now returns a LoL. -- You received this message because you are subscribed to t

[racket-users] Re: Breaking change to package 'handy'

2018-04-24 Thread David Storrs
On Tue, Apr 24, 2018 at 10:54 AM, David Storrs wrote: > The list-utils function in the 'handy' package includes > 'multi-partition', which is like the built-in 'partition' except that > it can partition into any number of groups. This function used to > have multiple return and now returns a LoL.

Re: [racket-users] Re: Breaking change to package 'handy'

2018-04-24 Thread Vincent St-Amour
FWIW, this `multi-partition` sounds a lot like the built-in `group-by`. Vincent On Tue, 24 Apr 2018 09:55:26 -0500, David Storrs wrote: > > On Tue, Apr 24, 2018 at 10:54 AM, David Storrs wrote: > > The list-utils function in the 'handy' package includes > > 'multi-partition', which is like the

Re: [racket-users] Re: Breaking change to package 'handy'

2018-04-24 Thread David Storrs
On Tue, Apr 24, 2018 at 11:11 AM, Vincent St-Amour wrote: > FWIW, this `multi-partition` sounds a lot like the built-in `group-by`. It has significant extra processing options: ;Examples: ; (multi-partition #:partitions 4 #:source '(a b c d e f)) ; Returns '((a e) (b f) (c) (d)) (multi

Re: [racket-users] Re: Breaking change to package 'handy'

2018-04-24 Thread David Storrs
On Tue, Apr 24, 2018 at 12:09 PM, David Storrs wrote: > On Tue, Apr 24, 2018 at 11:11 AM, Vincent St-Amour > wrote: >> FWIW, this `multi-partition` sounds a lot like the built-in `group-by`. > > It has significant extra processing options: > > ;Examples: > ; > > (multi-partition #:partitions

Re: [racket-users] Segfault when using Graphical Debugger

2018-04-24 Thread Matthew Flatt
Reporting back: The problem was a bug in the bytecode compiler, and commit 88d8ba00e0 is the repair. The debugger works by modifying a program so that local variables are mutable. Meanwhile, Philip's program uses the contracts in a way that expands to `call-with-immediate-continuation-mark`. The c

[racket-users] Re: On Richard P. Gabriel’s “The Structure of a Programming Language Revolution”

2018-04-24 Thread michael.ballantyne
The idea of systems vs languages from that article felt important to me, too, though I'm not sure I understand it exactly the same as Gabriel does. I look back at programming environments like Smalltalk-80 and the Symbolics lisp machine with a bit of envy. They had features that relied on the ti

Re: [racket-users] Breaking change to package 'handy'

2018-04-24 Thread Matthew Butterick
> On Apr 24, 2018, at 9:38 AM, David Storrs wrote: > > On Tue, Apr 24, 2018 at 12:09 PM, David Storrs > wrote: >> On Tue, Apr 24, 2018 at 11:11 AM, Vincent St-Amour >> wrote: >>> FWIW, this `multi-partition` sounds a lot like the built-in `group-by`. >> >> It ha

Re: [racket-users] Breaking change to package 'handy'

2018-04-24 Thread David Storrs
On Tue, Apr 24, 2018 at 5:36 PM, Matthew Butterick wrote: > FWIW as a fan of both `partition` and `group-by`, I think `multi-partition` > is a misnomer. In math, a partition is any division of a set into > nonintersecting subsets — maybe two pieces, maybe more. So coinages like > `multi-partition

[racket-users] Unexpected quasiquote and quasisyntax behavior

2018-04-24 Thread Greg Rosenblatt
I'm confused about the behavior of quasiquote and quasisyntax in some cases (using Racket v6.10.1). I'll list some examples alongside my questions. This vector quasiquote behavior makes sense to me: > `#(3 ,@'(4)) '#(3 4) The analogous quasisyntax gives an error, which seems strange. What's