Re: [racket-users] Clarify project policy on racket2 syntax

2019-08-12 Thread Vincent St-Amour
On Mon, 12 Aug 2019 07:49:30 -0500, Robby Findler wrote: > > There are piles of lecture notes (in the form of slide presentations > written in Racket) from the late 90s (so not in any continuous > integration system anywhere, as far as I know) that still run fine in > today's Racket for example.

[racket-users] Racket v7.2

2019-01-30 Thread Vincent St-Amour
nd Vincent St-Amour Feedback Welcome -- 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

Re: [racket-users] Re: The performance of ‘set’ vs. lists+‘remove-duplicates’

2018-12-06 Thread Vincent St-Amour
On Thu, 06 Dec 2018 07:05:03 -0600, 'Paulo Matos' via Racket Users wrote: > > > > On 05/12/2018 11:55, Tony Garnock-Jones wrote: > > I suspect it will be slow because sets are generics, and generics are > > slow. > > I am curious now. How slow? Why? Do you have any data backing this up? >

Re: [racket-users] Destructuring a list in (for ...)

2018-11-21 Thread Vincent St-Amour
`in-dict` can get you mostly there. (for ([(i j) (in-dict '(("a" 1) ("b" 20)))]) (display (list i j))) > (a (1))(b (20)) If you have lists of pairs instead of lists of lists, you'll get the same result as the hash case. Vincent On Wed, 21 Nov 2018 10:55:23 -0600, Brian Adkins wrote: > > I

[racket-users] Racket v7.1

2018-10-26 Thread Vincent St-Amour
, Robby Findler, Roman Klochkov, Ryan Culpepper, Sam Caldwell, Sam Tobin-Hochstadt, Shu-Hung You, Stephen Chang, Tong-Kiat Tan, Vincent St-Amour, Winston Weinert, and yjqww6. Feedback Welcome -- You received this message because you are subscribed to the Google Groups "Racket Users&q

Re: [racket-users] Capturar valor de retorno da query Racket

2018-09-27 Thread Vincent St-Amour
Olá, Se eu entendi sua pergunta, a função `dict-ref` é o que você quer: (dict-ref (query ..) 'insert-id) Vincent On Thu, 27 Sep 2018 14:24:39 -0500, dev.vide...@gmail.com wrote: > > Olá, sou iniciante no racket. Gostaria de capturar o valor insert-id que > retorna em um uma struct

Re: [racket-users] lib "graphics.ss" "graphics"

2018-05-21 Thread Vincent St-Amour
> Por casualidad sabes de un tutorial para la librería 2htdp/universe, esa es > muy buen para juegos y estoy haciendo un proyecto de la universidad. > Gracias por tu colaboración > > El lun., 21 de may. de 2018, 10:27 a.m., Vincent St-Amour > <stamo...@eecs.northwe

Re: [racket-users] lib "graphics.ss" "graphics"

2018-05-21 Thread Vincent St-Amour
Hola amigo, La librería `graphics` no puede imprimir texto con negrita u otra fuentes. La librería `pict` es lo que quires. La función `text`, específicamente. http://docs.racket-lang.org/pict/Basic_Pict_Constructors.html#%28def._%28%28lib._pict%2Fmain..rkt%29._text%29%29 Vincent On Mon, 21

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 > >

Re: [racket-users] let-syntax example?

2018-04-04 Thread Vincent St-Amour
As an intro, Fear of Macros, by Greg Hendershott: http://www.greghendershott.com/fear-of-macros/ To dig deeper, Beautiful Racket, by Matthew Butterick: https://beautifulracket.com/ Vincent On Wed, 04 Apr 2018 03:53:41 -0500, 若草春男 wrote: > > Additional question. > > I have read

Re: [racket-users] running tests with different #langs

2018-03-23 Thread Vincent St-Amour
The typed versions of the "common" Scheme benchmarks do something similar: https://github.com/racket/racket/blob/master/pkgs/racket-benchmarks/tests/racket/benchmarks/common/typed/wrapper.rkt Vincent On Fri, 23 Mar 2018 16:15:01 -0500, Stephen Chang wrote: > > I frequently want to run

Re: [racket-users] nightly build version is 6.90.0.20 ?

2018-03-12 Thread Vincent St-Amour
It's a massive jump forward leading to Racket 7.0, which will be released this summer. Vincent On Mon, 12 Mar 2018 19:18:05 -0500, Stephen De Gabrielle wrote: > > Hi, > > Am I going mad or has the version number on the nightly build gone back from > 6.12 to 6.90.0.20? (or is that a massive

Re: [racket-users] Reliably propagating received log messages to ports

2018-01-31 Thread Vincent St-Amour
Does `with-intercepted-logging` do what you want? It should take care of the sychronization aspects, like `with-logging-to-port` does, while letting you do whatever you want with the message, e.g., sending them to different ports. Vincent On Wed, 31 Jan 2018 16:00:58 -0600, Alexander McLin

[racket-users] Racket v6.12

2018-01-26 Thread Vincent St-Amour
Ballantyne, Mike Sperber, Milo Turner, Robby Findler, Rommel Martinez, Ryan Culpepper, Sam Tobin-Hochstadt, Shu-Hung You, Soulaïmane Sahmi, Spencer Florence, Stephen De Gabrielle, Vincent St-Amour, Wesley Kerfoot, and William G Hatch. Feedback Welcome -- You received this message because you

[racket-users] Racket v6.11

2017-10-30 Thread Vincent St-Amour
y Findler, Royall Spence, Ryan Culpepper, Ryan Davis, Sam Tobin-Hochstadt, Shu-Hung You, Spencer Florence, Stephen Chang, Vincent St-Amour, WarGrey Gyoudmon Ju, and Weng Shiwei. Feedback Welcome -- You received this message because you are subscribed to the Google Groups "Racket Users" gr

Re: [racket-users] New wiki page ‘friends of Racket’

2017-10-30 Thread Vincent St-Amour
Thanks Stephen for giving our wiki some much-needed love! Vincent On Sat, 28 Oct 2017 04:56:37 -0500, Stephen De Gabrielle wrote: > > I created a new wiki page > https://github.com/racket/racket/wiki/Friends-of-Racket > (yes, I got the idea from rust-lang) > > I did it because it is a

Re: [racket-users] Open source projects

2017-10-20 Thread Vincent St-Amour
e actively maintained and curated by someone. John, would you be willing to do it? Vincent On Fri, 20 Oct 2017 11:42:27 -0500, 'John Clements' via Racket Users wrote: > > > > On Oct 20, 2017, at 8:06 AM, Vincent St-Amour > > <stamo...@eecs.northwestern.edu> wrote: > &

Re: [racket-users] Re: Open source projects

2017-10-20 Thread Vincent St-Amour
That page is pretty out of date. This list is more focused on contributing to Racket itself, but is more up to date. It was compiled for the "office hours" portion of the last RacketCon, ~2 weeks ago. https://github.com/racket/racket/wiki/Racketeer-Office-Hours-2017-Task-Ideas Vincent On

[racket-users] (seventh RacketCon) Survey

2017-10-12 Thread Vincent St-Amour
Racketeers, (seventh RacketCon) was held last weekend. I hope you were able to join us, be it in person, or via the live stream. As we're always trying to make RacketCon better, we're interested in hearing what you thought of this one. If you did not attend, we're also interested in hearing from

Re: [racket-users] Thank you all for letting me speak

2017-10-08 Thread Vincent St-Amour
Thank *you* David for the excellent talk! RacketCon would be nothing without its speakers. Thank you all for making it possible! Vincent On Sun, 08 Oct 2017 12:26:08 -0700, David Storrs wrote: > > I'd like to thank the organizers of (seventh racketcon) for allowing > me to speak. I would

Re: [racket-users] Fwd: Racket Con

2017-10-05 Thread Vincent St-Amour
No mugs this year; another surprise instead. ;) Vincent On Thu, 05 Oct 2017 14:18:58 -0500, 'John Clements' via users-redirect wrote: > > Forwarded without comment… :) > > Begin forwarded message: > > From: Jasmine Harihar Patel > Subject: Racket Con > Date:

Re: [racket-users] (seventh RacketCon): Early Bird Registration Almost Over!

2017-09-15 Thread Vincent St-Amour
Quick reminder: early bird registration ends tomorrow! Vincent On Mon, 04 Sep 2017 10:28:19 -0500, Vincent St-Amour wrote: > > Racketeers, > > (seventh RacketCon) keeps getting closer! It's almost a month away! > In less than two weeks, early bird registration[1] will end and

Re: [racket-users] (racketcon 2017) Is there a shuttle from the hotel?

2017-09-11 Thread Vincent St-Amour
ing. > > ~Leif Andersen > > > On Mon, Sep 11, 2017 at 2:19 PM, Vincent St-Amour > <stamo...@eecs.northwestern.edu> wrote: > > Hi Dave, > > > > We're not planning a shuttle; the hotel is a short walk from the venue. > > > > If that's an issue for y

Re: [racket-users] (racketcon 2017) Is there a shuttle from the hotel?

2017-09-11 Thread Vincent St-Amour
Hi Dave, We're not planning a shuttle; the hotel is a short walk from the venue. If that's an issue for you, please do let us know. Vincent On Mon, 11 Sep 2017 10:35:02 -0500, David Storrs wrote: > > Hi folks, > > Is there a shuttle from the hotel to the venue and, if so, what times does

Re: [racket-users] RacketCon Sunday Hours?

2017-09-11 Thread Vincent St-Amour
Hi John, The plan for Racketeer office hours is to have a town hall / Q (like the one we had last year) in the morning, then more of a hackathon in the afternoon, where people can bring their projects to get help, or work together on various tasks to improve our ecosystem. We specifically

[racket-users] (seventh RacketCon): Early Bird Registration Almost Over!

2017-09-04 Thread Vincent St-Amour
Racketeers, (seventh RacketCon) keeps getting closer! It's almost a month away! In less than two weeks, early bird registration[1] will end and ticket prices will increase. Get your tickets while they're cheap! Our speaker lineup is essentially complete! Check out what tales they'll be regaling

[racket-users] Racket v6.10

2017-07-31 Thread Vincent St-Amour
Leif Andersen, Matthew Butterick, Matthew Flatt, Matthias Felleisen, Michael Orlitzky, Milo Turner, Mohsen Keyhani, Philip McGrath, Robby Findler, Rob Bassi, Ryan Culpepper, Sam Caldwell, Sam Tobin-Hochstadt, Scott Moore, Spencer Florence, Stephen Chang, Stephen De Gabrielle, Vincent St-Amour, WarGre

Re: [racket-users] [ANN] MessagePack implementation for Racke

2017-07-24 Thread Vincent St-Amour
Hi Alejandro, This looks cool! I don't see it listed at pkgs.racket-lang.org. It would be easier for users to discover it if you posted it there. Vincent On Mon, 24 Jul 2017 08:17:30 -0500, Alejandro Sanchez wrote: > > Hello dear Racketeers, > > I have been writing an implementation of the

[racket-users] (seventh RacketCon): Do You Have Your Ticket?

2017-07-21 Thread Vincent St-Amour
Racketeers, (seventh RacketCon) is getting closer! To whet your appetite, you can find details about some of the talks we're looking forward to on the RacketCon website [1]. Also don't forget to register [2] and take advantage of our group rate [3] at the very nice Hotel Deca [4]. If you would

[racket-users] Racket v6.9.0.900 is available for testing

2017-07-18 Thread Vincent St-Amour
Version 6.9.0.900 is now available for testing from http://pre-release.racket-lang.org/ (Note that this is not available from the usual download site.) If all goes well, we will turn this version into a v6.10 release within a couple of weeks. This release includes a overhaul of Racket's IO

Re: [racket-users] Re: how to get full tracebacks in DrRacket?

2017-07-03 Thread Vincent St-Amour
On Sat, 01 Jul 2017 11:28:31 -0500, Zelphir Kaltstahl wrote: > > On Friday, June 30, 2017 at 5:10:44 PM UTC+2, Matthew Butterick wrote: > > Is there a way to configure DrRacket so that it always prints the same > > full-length tracebacks that are visible on the command line? Here's an > >

Re: [racket-users] beating java (speed)

2017-07-01 Thread Vincent St-Amour
On Sat, 01 Jul 2017 08:25:01 -0500, WarGrey Gyoudmon Ju wrote: > > Hello, did you try remove racket/unsafe/ops? > You do not have to use unsafe operations for fixnum and flonum, Typed Racket > will do it for you. > > I am not sure if this is my problem, I found that racket/unsafe/op slows down

Re: [racket-users] beating java (speed)

2017-07-01 Thread Vincent St-Amour
On Sat, 01 Jul 2017 08:07:37 -0500, 'Shakin Billy' via Racket Users wrote: > > java code runs in 4.5 seconds > racket code takes 12.5 seconds to complete (in cli-mode) > > i typed racket and used unsafe operations. some perfomance hints from the > guide don't seem to apply since i already

Re: [racket-users] RacketCon Code of Conduct

2017-06-24 Thread Vincent St-Amour
All, Thank you all for your comments, and thank you Claire and Leif for bringing this to our attention. We (the RacketCon organizers) have decided to adopt the SNAPL code of conduct (based on the ACM's) for RacketCon. You can find it on the RacketCon web page[1]. Hope to see you all in Seattle!

Re: [racket-users] racket documentation does not open

2017-06-07 Thread Vincent St-Amour
Hi Johannes, This is a bug in MacOS. Until it gets fixed, here's a workaround: https://github.com/racket/racket/issues/1685#issuecomment-305898812 Vincent On Wed, 07 Jun 2017 12:03:31 -0500, Johannes Brauer wrote: > > Hi, > > I have installed Racket 6.9 on macOs 10.12.5. If I try to

[racket-users] Re: (seventh RacketCon) Call for Speakers

2017-06-05 Thread Vincent St-Amour
Hi Charles, We're still accepting proposals, and I'm the one to send them to. Looking forward to seeing yours! Vincent On Mon, 05 Jun 2017 07:22:10 -0500, Charles Earl wrote: > > Has the deadline passed for talk proposals? If not, where should they be > submitted? > > Charles -- You

Re: [racket-users] immutable hash table references?

2017-05-24 Thread Vincent St-Amour
I believe we used red-black trees. Matt Might has a nice writeup on functional red-black trees: http://matt.might.net/articles/red-black-delete/ Vincent On Wed, 24 May 2017 10:14:11 -0500, Robby Findler wrote: > > But it was a different balanced binary tree before. There are many > things

Re: [racket-users] DrRacket has become unusable: freezes almost immediately

2017-05-23 Thread Vincent St-Amour
On Tue, 23 May 2017 06:35:58 -0500, Alasdair McAndrew wrote: > > On Tuesday, 23 May 2017 21:06:17 UTC+10, Robby Findler wrote: > > If you start DrRacket from the shell, trigger the bad behavior and then > > type control-c in the shell, do you get any output? > > > > > > Robby > > > Thanks

Re: [racket-users] Contracts for generic interfaces (or struct type properties?)

2017-05-23 Thread Vincent St-Amour
Hi Philip, I don't think you can express the contract boundary you have in mind using the generics library as it is. The blame you see for both contracts makes sense. In the first case, `string-server` is not protecting itself from bad inputs (uses `any/c`) yet promises to return a string. It

Re: [racket-users] raco docs error on macOS 10.12.5

2017-05-22 Thread Vincent St-Amour
Hi Vitaliy, I believe this should be fixed now, but the fix was not in 6.9, hence the error you're seeing. If you want to try it, you can get a nightly build at pre.racket-lang.org 6.10 is due in July, and will include the fix. Thanks for the report, and please do let us know if the problem

Re: [racket-users] Re: Type Racket command-line #:ps causing type error

2017-05-22 Thread Vincent St-Amour
ins an extra keyword argument, we're usually pretty good at adding it to its type quickly. Sometimes things fall through the cracks; #:ps must have been one of them. Vincent > On Thursday, May 18, 2017 at 1:51:14 PM UTC-7, Vincent St-Amour wrote: > > I just pushed a fix. Thanks for the

Re: [racket-users] Re: Type Racket command-line #:ps causing type error

2017-05-18 Thread Vincent St-Amour
I just pushed a fix. Thanks for the report! Vincent On Wed, 17 May 2017 01:47:11 -0500, lu wrote: > > On Tuesday, May 16, 2017 at 12:47:37 AM UTC-7, kay wrote: > > Hi I feel this might be a bug, can anyone confirm or suggest a fix? > > > > Here's a minimal usage of `command-line` form: > > >

Re: [racket-users] sharing a value between a DrRacket tool and a user program

2017-05-16 Thread Vincent St-Amour
John, Austin, You can use loggers for this. The `data` argument to `log-message` allows payloads to be carried along with log messages. Just have the user program log messages with a particular topic, and have the tool listen on that topic. That's how the optimization coach (which is a DrRacket

[racket-users] (seventh RacketCon) Call for Speakers

2017-05-05 Thread Vincent St-Amour
Racketeers, (seventh RacketCon) will be held on October 7th, followed by Racketeer Office Hours on October 8th. This year, RacketCon will be in Seattle, WA, with support from the Racket group at the University of Washington. We are pleased to announce that Dan Friedman and Will Byrd will be

Re: [racket-users] Racket v6.9

2017-05-01 Thread Vincent St-Amour
There was an issue with the signatures on the Windows installers for 6.9. We've uploaded new, properly signed Windows installers to download.racket-lang.org Thanks to Magda Wojciecchowska for the report! Vincent On Thu, 27 Apr 2017 15:47:55 -0500, Vincent St-Amour wrote: > > Racket v

Re: [racket-users] Racket v6.9

2017-04-30 Thread Vincent St-Amour
nd new racket. > > :) > > Sorry for the wrong red alert... > > Cheers > Meino > > > > On 04/28 02:59, Vincent St-Amour wrote: > > Hi Meino, > > > > I can't reproduce this on either Mac OS or Linux. > > > > Are you sure you have th

Re: [racket-users] Racket v6.9

2017-04-28 Thread Vincent St-Amour
> (x86_84/Linux) > > Cheers > Meino > > > On 04/27 03:47, Vincent St-Amour wrote: > > Racket version 6.9 is now available from > > > > http://racket-lang.org/ > > > > --- > > > > Security Announcement: > > > > A security

[racket-users] Racket v6.9

2017-04-27 Thread Vincent St-Amour
hang, Tony Garnock-Jones, Vincent St-Amour, WarGrey Gyoudmon Ju, Wei Tang, and William G Hatch. Feedback Welcome -- 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

Re: [racket-users] Racket/Dr. Racket on Android?

2017-04-20 Thread Vincent St-Amour
There is! Thanks to Jay McCarthy, Byron Davies, and Black Swan Learning LLC. https://github.com/jeapostrophe/racket-android Vincent On Thu, 20 Apr 2017 11:30:55 -0500, Lawrence Bottorff wrote: > > Is there a version of Racket for Android yet? > > -- > You received this message because you

Re: [racket-users] range with small or zero step doesn't return

2017-04-17 Thread Vincent St-Amour
9, Ben Greenman <benjaminlgreen...@gmail.com> wrote: > > Maybe, just add a note to the docs? > > On Mon, Apr 17, 2017 at 4:56 PM, Vincent St-Amour > <stamo...@eecs.northwestern.edu> wrote: > > The latter is easy to fix; I've submitted a pull request. > >

Re: [racket-users] range with small or zero step doesn't return

2017-04-17 Thread Vincent St-Amour
The latter is easy to fix; I've submitted a pull request. The former is trickier. The problem is not so much due to the step size itself, but rather to a combination of the step size and of a particular iteration state. (For people following along, the issue is that there exists a value `x` such

Re: [racket-users] [Shameless self-promotion] Articles about programming-language theory for working programmers in Racket

2017-04-07 Thread Vincent St-Amour
FWIW, I found that blog post interesting as a reductio ad absurdum to (indirectly) motivate DSLs. Clearly, if we take a general-purpose language and take away constructs that can (albeit inadequately) express domain concepts (e.g., numbers, structs, etc.), we end up with an unmanageable mess.

Re: [racket-users] minimal vs full racket performance issues

2017-03-16 Thread Vincent St-Amour
`raco pkg remove rackunit && raco pkg remove --auto` should do it. Vincent On Thu, 16 Mar 2017 17:42:23 -0500, Sam Tobin-Hochstadt wrote: > > Unfortunately, I don't think there's an analogue of apt autoremove, so you > probably have to do it manually. > > On Thu, Mar 16, 2017, 6:37 PM Dan

Re: [racket-users] How to type annotate for bindings in complex syntax forms

2017-03-09 Thread Vincent St-Amour
On Mon, 06 Mar 2017 23:50:38 -0600, lu wrote: > > Awesome. Thanks! Where can I find the documentation for this TR reader syntax? > > Why is TR not able to figure out the type for these variables without > human help? Does that mean the implementation of `command-line` is in > TR and the types of

[racket-users] Racket v6.8

2017-01-24 Thread Vincent St-Amour
-Hochstadt, Shu-Hung You, Spencer Florence, Stephen Chang, Tim Brown, Tony Garnock-Jones, Vincent St-Amour, WarGrey Gyoudmon Ju, and William G Hatch. Feedback Welcome -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from

[racket-users] Announcing (seventh RacketCon)

2017-01-20 Thread Vincent St-Amour
of the community. Registration is not open yet, but we'll let you know when it is. See you in Seattle! Vincent St-Amour, Matthew Butterick, and Matthew Flatt with help from Emina Torlak and Amanda Robles at UW -- You received this message because you are subscribed to the Google Groups "Racket

Re: [racket-users] Typed Racket & Higher Kinded Types

2017-01-19 Thread Vincent St-Amour
On Thu, 19 Jan 2017 10:42:17 -0600, Robert Kuzelj wrote: > > As far as I understand Haskell was breaking compatibility now then to > add new languae features. This enabled the fast iteration (albeit a > painful one). > On the other hand F# is the exact opposite - not only looking to > remain

Re: [racket-users] Link to racket doc in scribble?

2017-01-11 Thread Vincent St-Amour
Andreas, To link to a technical term (i.e., not to a particular binding), you'll want to use the `tech` function. To link to a term in another document (in this case the Racket Reference), you'll want to use the `#:doc` keyword, with the module path of (the top-level of) that document, in this

Re: [racket-users] How to embed version and build date in an application executable?

2017-01-05 Thread Vincent St-Amour
You can write compile-time code to query the current date, and get the version number from an environment variable: #lang racket (require (for-syntax racket/date)) (define-syntax (embed-version stx) (syntax-case stx () [_ #`(format "~a - ~a"

Re: [racket-users] Narrow radix of string->number.

2016-12-27 Thread Vincent St-Amour
I don't see any reason why not, and it doesn't seem (by the discussion) that anyone is strongly against. Would you be interested in submitting a pull request to extend `string->number`? You'd probably want to extend `number->string` as well, and possibly others. Vincent On Thu, 22 Dec 2016

Re: [racket-users] small cosmetic comment

2016-12-09 Thread Vincent St-Amour
Hi John, Thanks for the report! I just pushed a fix. Vincent On Tue, 29 Nov 2016 16:25:35 -0600, JCG wrote: > > On the mailing lists section of the Racket site, there are users, > announcements and dev groups. Underneath each are three IMG tags referencing > bad urls, e.g. > >

Re: [racket-users] running dr racket on chromebook without ubuntu

2016-12-01 Thread Vincent St-Amour
Is your filesystem mounted with "noexec"? Vincent On Mon, 28 Nov 2016 09:14:01 -0600, yehoshua zaman wrote: > > I have asus chromebook c100p. i am in developer mode. I installed dr racket > while in developer mode by entering crosh, then typing shell then finding the > location of downloads

Re: [racket-users] Plot multiple lines from data set

2016-11-30 Thread Vincent St-Amour
Hi Stephen, Renderers are values, so you could simply define each one separately, then build the list, then pass it to plot. No need for macros. (define line1 ) (define line2 ) (define all-lines (list line1 line2 )) (plot all-lines) Vincent On

Re: [racket-users] syntax-class composed of literals

2016-11-17 Thread Vincent St-Amour
On Wed, 16 Nov 2016 21:42:14 -0600, Ryan Culpepper wrote: > > On 11/16/2016 07:51 PM, Vincent St-Amour wrote: > > FWIW, Eric Dobson wrote a very nice `define-literal-syntax-class` macro > > that is used extensively inside TR. > > > > > > https://github

Re: [racket-users] syntax-class composed of literals

2016-11-16 Thread Vincent St-Amour
FWIW, Eric Dobson wrote a very nice `define-literal-syntax-class` macro that is used extensively inside TR. https://github.com/racket/typed-racket/blob/master/typed-racket-lib/typed-racket/utils/literal-syntax-class.rkt Its companion `define-merged-syntax-class` is quite nice too.

Re: [racket-users] All members of a list between two items

2016-11-08 Thread Vincent St-Amour
There's no built-in function that does exactly that. It's pretty straightforward to implement using a combination of `dropf` and `dropf-right`, though. Vincent On Tue, 08 Nov 2016 15:50:56 -0600, David Storrs wrote: > > Given a list of arbitrary data, I'd like to be able to say "look through

Re: [racket-users] Code in The Seasoned Schemer not accessible from REPL in Geiser or Dr. Racket

2016-11-08 Thread Vincent St-Amour
Ian, `oh` is indeed unbound inside the call to `call/cc`. `oh` is only bound within the body of the `lambda` that is on the right-hand side of the `letrec`; it is not bound in the body of the `letrec`, which is where the call to `call/cc` is. I don't have my copy of TSS handy. Did you make a

Re: [racket-users] Of editors and mere mortals

2016-11-05 Thread Vincent St-Amour
There's a section of the guide that discusses tools to use Racket with various text editors, including Emacs: http://docs.racket-lang.org/guide/other-editors.html Vincent On Sat, 05 Nov 2016 08:14:34 -0500, Ken MacKenzie wrote: > > So as much as I know there is much love for Dr Racket, I

Re: [racket-users] Extending DrRacket's LaTeX Shortcuts

2016-11-04 Thread Vincent St-Amour
Hi Kelly, The table's source is there: https://github.com/racket/gui/blob/master/tex-table/tex-table.rkt It doesn't look like the list is user-extensible, but you can extend it by modifying the file. To do so, you'd want to update the `tex-table` package to use a from-source version (from

Re: [racket-users] Re: Recursive stepping down a list patially?

2016-10-31 Thread Vincent St-Amour
FWIW, your `find-it` is a thin wrapper over `memf` from `racket/base`. Vincent On Tue, 01 Nov 2016 05:06:47 +0100, George Neuner wrote: > > On Tue, 1 Nov 2016 04:28:26 +0100, > meino.cra...@gmx.de wrote: > > > > >Hi Jon, > > > >thanks for reply! :) > > > >My plan was, to return only one

Re: [racket-users] Building regexen in at-exp

2016-10-28 Thread Vincent St-Amour
To understand what's going on, consider the following program: #lang at-exp racket (define a "this") (define (f . l) (for-each displayln l)) @f{^@a} which prints ^ this What's going on is that the `{}` in at-exp notation will evaluate to a list of strings. One

[racket-users] Re: Racket v6.7

2016-10-27 Thread Vincent St-Amour
This looks like an import conflict. In 6.7, we added a `vector-sort!` function to `racket/vector`. There was already one in `rnrs/sorting-6`. So if your program requires both libraries, you will have a conflict. You can resolve the conflict by looking for places where you require

[racket-users] Racket v6.7

2016-10-26 Thread Vincent St-Amour
athan Schuster, Leif Andersen, Marc Burns, Matthew Butterick, Matthew Flatt, Matthias Felleisen, Mike Sperber, Robby Findler, Rohin Shah, Ryan Culpepper, Sam Tobin-Hochstadt, Spencer Florence, Stephen Chang, Stephen De Gabrielle, Tim Brown, Tony Garnock-Jones, Vincent St-Amour, WarGrey Gyoudmon Ju, and Will

Re: [racket-users] proposed minor improvement to stepper semantics

2016-10-20 Thread Vincent St-Amour
Reducing to something, rather than disappearing, does sound like a good idea to me. On the other hand, one may expect something that reduces to `#true` to print `#true` to the interactions window, which isn't what happens. Vincent On Thu, 20 Oct 2016 13:33:19 -0500, Racket Users wrote: > >

Re: [racket-users] DrRacket et al not starting in Sierra (10.12)?

2016-10-17 Thread Vincent St-Amour
Hi, Sierra changed the way applications need to be signed, so if you have an old installation of Racket 6.6, it won't work. We've since uploaded a new 6.6 installer that is signed for Sierra at http://download.racket-lang.org/ The pre-release builds for the upcoming 6.7 release should work

Re: [racket-users] Any information on whether/when Sixth RacketCon videos will be available?

2016-10-17 Thread Vincent St-Amour
video, which is a Racket based DSL for video editing, which will > hopefully make putting them out in future years faster. > > ~Leif Andersen > > On Mon, Oct 17, 2016 at 9:07 AM, Vincent St-Amour > <stamo...@eecs.northwestern.edu> wrote: > > Hi

Re: [racket-users] Any information on whether/when Sixth RacketCon videos will be available?

2016-10-17 Thread Vincent St-Amour
Hi Hashim, Do not fear, the videos are coming! They take some time to prepare, though. We need to do some post-production to splice in the audio capture (the camera's audio is not as good as we'd like), and splice in the screen capture (or slides, when that wasn't available), to make sure

Re: [racket-users] How to insert @ character into scribble-generated output?

2016-10-13 Thread Vincent St-Amour
FWIW, that's confused me too in the past, so I've added this as an extra example in the docs. Vincent On Thu, 13 Oct 2016 08:42:13 -0500, Robby Findler wrote: > > You can do @"@" (i.e. escape to Racket with the first @ and then make > a string that has an @ in it as the result of the escape).

Re: [racket-users] Unable to track down what is requiring inclusion of tzinfo module

2016-10-13 Thread Vincent St-Amour
The tzinfo dependency comes from gregor (well, from gregor-lib, which gregor depends on). But, I would have also expected installing gregor to pull in that dependency. How did you install gregor? Vincent On Thu, 13 Oct 2016 13:02:09 -0500, Ian Thomas wrote: > > Hello list, > > I'm receiving

Re: [racket-users] Re: FUSE filesystem package

2016-10-12 Thread Vincent St-Amour
On Wed, 12 Oct 2016 16:31:46 -0500, Scott Moore wrote: > > PS: is the documentation for use-once/c somewhere? > > I’ll add it to the docs when I get a chance. You can see the definition > here: > https://github.com/thinkmoore/racket-fuse/blob/master/private/filesystem.rkt#L132 > >

Re: [racket-users] how to understand this code? permutations use recursive 4 times

2016-10-09 Thread Vincent St-Amour
The link is dead. Vincent On Sun, 09 Oct 2016 01:44:39 -0500, 231c wrote: > > https://hackpad.com/I-dont-know-how-to-understand-this-works-and-correct-T9yCt51UGSh > > -- > You received this message because you are subscribed to the Google Groups > "Racket Users" group. > To unsubscribe from

Re: [racket-users] Scribble, Picts, and Serialize/Deserialize Oddities

2016-10-06 Thread Vincent St-Amour
Wild guess: this may be a bug in record-dc%. IIRC, DrRacket uses record-dc% when rendering picts, and it would make sense that serialization would too. But drawing picts directly wouldn't. The last time I saw that kind of bug (inconsistent pict rendering between contexts), it turned out that

Re: [racket-users] Highlighting non-racket code in slideshow

2016-10-03 Thread Vincent St-Amour
`codeblock-pict` should do what you want, assuming there's a corresponding #lang (doesn't need to be a full implementation, just needs a lexer). Alternatively, you can use my `java-lexer` package which, despite its name, does a decent job with much more than just Java. I've used it to get some ok

Re: [racket-users] Contract violation where number expected - can't understand why

2016-10-01 Thread Vincent St-Amour
On Sat, 01 Oct 2016 15:44:18 -0500, Angus wrote: > > And it is now more obvious to me that in: > > (define (bigger w) > (interval (min (interval-big w) > (add1 (guess w))) > (interval-big w) (+ (interval-guesses w) 1))) > > The (interval... part is a constructor

Re: [racket-users] Contract violation where number expected - can't understand why

2016-10-01 Thread Vincent St-Amour
On Sat, 01 Oct 2016 09:47:00 -0500, Angus wrote: > I don't understand. How would I pass it an interval? > > I am confused about the w parameter in smaller. ie (define (smaller w) > > what is w? Is that the current interval held as state within big-bang? Yes, that is correct. Have a closer

Re: [racket-users] Contract violation where number expected - can't understand why

2016-10-01 Thread Vincent St-Amour
On Sat, 01 Oct 2016 09:13:25 -0500, Angus wrote: > Then I changed smaller (and bigger) like this: > > (define (smaller w) > (interval (interval-small w) > (max (interval-small w) > (sub1 (guess w) > > to > > (define (smaller w) > (interval (interval-small

Re: [racket-users] On my calendar: "TR gains support for generics"

2016-09-28 Thread Vincent St-Amour
Maybe that was to remind you to start working on it? ;) More seriously, I don't remember where that could have been from, and I don't think there's anyone actively working on it at this point. Vincent On Tue, 27 Sep 2016 23:10:51 -0500, Racket Users wrote: > > Anyone have any idea why on

Re: [racket-users] TR issue with the type of expt

2016-09-27 Thread Vincent St-Amour
You are correct, the implementation of `expt` is not aware of that fact. However, TR assigns `expt` a type after the fact, and so is able to encode more precise properties. The particular one under discussion happens to not hold, as Pierpaolo explained. Vincent On Tue, 27 Sep 2016 08:36:43

Re: [racket-users] A Racket talk in Rubyconf Brazil

2016-09-25 Thread Vincent St-Amour
I agree! Nice overview. Vincent On Sun, 25 Sep 2016 13:31:59 -0400, Matthias Felleisen wrote: > > Looks like a cool talk. Thanks for sharing. > > On Sep 25, 2016, at 11:53 AM, Ronie Uliana > wrote: > > > > > Hi, there! > > >

[racket-users] Re: (sixth RacketCon) General Q

2016-09-16 Thread Vincent St-Amour
Hi Greg, Yes, we are planning to live stream RacketCon. Details will be on the web page once the stream is set up. We'll have people monitoring the #racket IRC channel on freenode throughout the day. If you (or anyone) has any questions at any point, they will relay them to the speaker.

[racket-users] (sixth RacketCon) General Q

2016-09-12 Thread Vincent St-Amour
Racketeers, RacketCon is less than a week away! Do you have your tickets? This year, we're trying something new. To wrap the day up, we'll have an open Q session, where we welcome any and all questions about the current state of Racket, future plans, the Racket implementation, any part of the

Re: [racket-users] Logos for Scheme (DrRacket,Bigloo)

2016-09-08 Thread Vincent St-Amour
Neat! You should put it on pkgs.racket-lang.org. Vincent On Thu, 08 Sep 2016 08:44:21 -0500, Damien MATTEI wrote: > > Hi, > just a few words to say my enhanced version of Logos (a Scheme program to > maipulate logical expressions symbolically) is on sourceforge: > >

Re: [racket-users] Racket Shell

2016-08-22 Thread Vincent St-Amour
On Mon, 22 Aug 2016 11:38:37 -0500, Andrew Gwozdziewycz wrote: > > This discussion has reminded of SHILL > (https://www.usenix.org/system/files/conference/osdi14/osdi14-paper-moore.pdf) > which is less user focused, and more security / capabilities focused, > but the prototype (in Racket)

[racket-users] (sixth RacketCon) Speaker Roster and Social Event

2016-08-05 Thread Vincent St-Amour
Racketeers, RacketCon is getting closer. Do you have your tickets? I'm pleased to announce that our complete roster of speakers is available on the RacketCon web page [1], along with bios and talk information. On the program are topics ranging all across Racketdom, from language-building to

Re: [racket-users] How do I "make base"

2016-08-04 Thread Vincent St-Amour
Tim, Do keep in mind that, even if you check out a specific release tag (e.g., to build something equivalent to 6.6), `raco pkg` will pull in the latest version of packages in the main distributions when possible, rather than the versions packaged with the 6.6 installers. If that's what you want,

Re: [racket-users] Error message from GUI

2016-07-29 Thread Vincent St-Amour
Should this change be added to gui-lib? Vincent On Fri, 29 Jul 2016 10:08:46 -0500, Dmitry Pavlov wrote: > > Matthew, > > Yes that works, thank! > > Also I figured why the message did not show up on my "first" WinXP > installation: the spreadsheet-editor package has not been updated there. >

[racket-users] Racket v6.6

2016-07-22 Thread Vincent St-Amour
Stephen Chang, Stephen De Gabrielle, Tim Brown, Tony Garnock-Jones, Vincent St-Amour, WarGrey Gyoudmon Ju, William J. Bowman, and Zeina Migeed. Feedback Welcome -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from thi

Re: [racket-users] TR could be even more spectacularly awesome:

2016-07-12 Thread Vincent St-Amour
OC gets its dead code info from TR, so the two should agree. Vincent On Tue, 12 Jul 2016 16:54:10 -0500, Robby Findler wrote: > > I think you are saying that TR does not declare variables in for/hash > as dead code but that OC does. Is that what you're saying? Is that > true? > > Robby > >

[racket-users] Reminder: (sixth RacketCon) Call for Speakers

2016-06-28 Thread Vincent St-Amour
Racketeers, The (sixth RacketCon) program is starting to take shape! Check out our web page[1] for a sneak peek. We still have a couple of speakers slots open, but not many. If you're interested in speaking about a Racket-related project of yours, please let me know! Also, if you haven't

Re: [racket-users] special symbols in scribble

2016-06-16 Thread Vincent St-Amour
Hi Jos, Is this what you had in mind? http://docs.racket-lang.org/drracket/Keyboard_Shortcuts.html#%28part._.La.Te.X_and_.Te.X_inspired_keybindings%29 Vincent On Thu, 16 Jun 2016 11:33:54 -0500, Jos Koot wrote: > > special symbols in scribble > > Hi, > > Some days ago I encountered a nice

  1   2   >