Re: [racket-users] Behavior of nested ellipses

2018-03-27 Thread Justin Pombrio
I think I found a clearer way of talking about this. This rule: (define-syntax-rule (test (x y ...) ...) '(((x y) ...) ...)) Has more than one possible meaning. But it can be clarified using explicit subscripts. It could mean either this (which is what I expected): (define-syntax-rule

[racket-users] Re: compile-zo: date for newly created .zo file ... is before source-file date ... which appears to be in the future

2018-03-27 Thread Greg Trzeciak
Forgot to mention - my setup is: Racket 6.12 on Windows 10... could be some recent Windows update? -- 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] compile-zo: date for newly created .zo file ... is before source-file date ... which appears to be in the future

2018-03-27 Thread Greg Trzeciak
I started receiving weird errors while installing packages (any package I tested so far) The error below was returned while installing package - my local time was around 0:44 at the time: > compile-zo: date for newly created .zo file

Re: [racket-users] Behavior of nested ellipses

2018-03-27 Thread Ryan Culpepper
On 03/27/2018 11:46 PM, Ryan Culpepper wrote: On 03/27/2018 10:01 PM, Justin Pombrio wrote: I'm surprised by the behavior of using a pattern variable under one set of ellipses in the pattern, and under two sets of ellipses in the template: [...] BTW, it looks like Macro-By-Example[1]

Re: [racket-users] Behavior of nested ellipses

2018-03-27 Thread Ryan Culpepper
On 03/27/2018 10:01 PM, Justin Pombrio wrote: I'm surprised by the behavior of using a pattern variable under one set of ellipses in the pattern, and under two sets of ellipses in the template: | #lang racket (require(for-syntax syntax/parse)) (define-syntax (test stx) (syntax-parse stx [(_

[racket-users] Behavior of nested ellipses

2018-03-27 Thread Justin Pombrio
I'm surprised by the behavior of using a pattern variable under one set of ellipses in the pattern, and under two sets of ellipses in the template: #lang racket (require (for-syntax syntax/parse)) (define-syntax (test stx) (syntax-parse stx [(_ (x y ...) ...) #''(top (list (x y) ...)

Re: [racket-users] sharing an awesome plot - warms the cockles of my heart

2018-03-27 Thread Geoffrey Knauth
This was a fun thread, thanks to everyone for sharing the plots, and for pointing out pasterack.org! -- 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

Re: [racket-users] Behavior of image-color? function

2018-03-27 Thread Philip McGrath
It looks like 2htdp/image accepts all strings as legal color values, but "if a string or symbol color name is not recognized, black is used in its place." In particular, note that (rectangle 20 20 "solid" "#ffe303") produces the same image as (rectangle 20 20 "solid" "#00"). Strings are

Re: [racket-users] Behavior of image-color? function

2018-03-27 Thread Robby Findler
Any string is considered an image-color, but if it is not a color that's known, it is turned into black. Is that the question? If so, I will update the documentation to clarify. Note that the list of colors is behind the link on "color-database<%>". Robby On Tue, Mar 27, 2018 at 9:41 AM,

[racket-users] Behavior of image-color? function

2018-03-27 Thread 若草春男
Hi, everyone. I'm using 2htdp/image and I wonder the color description. DrRacket version 6.12 > (require 2htdp/image) > (image-color? "red") ; will #t #t > (image-color? 1) ; will #f #f > (image-color? (color 0 0 0 0)) ; will #t #t > (image-color? "pale") ; I don't know about this. #t >

Re: [racket-users] Re: truly stand-alone Windows ".exe"s

2018-03-27 Thread Matthew Flatt
I should have bumped the version number when adding `--embed-dlls`, but I didn't. So, even though it's still version 6.90.0.23, `--embed-dlls` is in snapshots starting with the ones built on March 26. At Tue, 27 Mar 2018 03:38:28 -0700 (PDT), Alex Harsanyi wrote: > > I have version 6.90.0.23

Re: [racket-users] Profiling places

2018-03-27 Thread 'Paulo Matos' via Racket Users
On 27/03/18 14:55, 'Paulo Matos' via Racket Users wrote: > > 1. setup a profile command line argument that's passed to places-profile.rkt > 2. send a flag indicating if we need profiling in any-double? > 3. then use profile-thunk on the function if profiling is required, or > nothing if

[racket-users] Profiling places

2018-03-27 Thread 'Paulo Matos' via Racket Users
Hello, I was trying to confirm my suspicion that profile needs to be manually setup in each place for profiling. So I created (based on the example in the manual) ;; places-profile.rkt #lang racket (define (main) (define p (dynamic-place "any-double.rkt" 'place-entry)) (for ([i

[racket-users] Re: truly stand-alone Windows ".exe"s

2018-03-27 Thread Alex Harsanyi
I have version 6.90.0.23 installed from a few days ago, which appears to be the latest version available at http://pre.racket-lang.org/, and "raco exe" does not accept the '--embed-dlls' option. Have these changes not been released in a snapshot yet? Best Regards, Alex. On Monday, March 26,