[racket-users] Error message from GUI

2016-07-28 Thread dpavlov
Hello, Running my GUI app from Racket 6.6, I see the following error message in the console: initialization for bitmap%: bad argument combination: 486 0 #f #t 1.0 It happens on 64-bit Windows 7 and 10, and does not happen on 32-bit Windows XP and 64-bit Linux. It also did not happen on Rac

[racket-users] [ANN] Mock, a test mocking library

2016-07-28 Thread Jack Firth
I've written a library for making test mocks, so that tests can verify they're correctly calling dependencies without really calling them (for example, to avoid IO in unit tests). It's available in the package catalog under the name "mock", and a separate package with RackUnit checks for mocks i

Re: [racket-users] racket command-line REPL: Constructor style printing mode?

2016-07-28 Thread Delphine Demange
Cool, I've updated the package, and it works great now! Thanks again, Delphine -- 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...@googlegr

Re: [racket-users] racket command-line REPL: Constructor style printing mode?

2016-07-28 Thread Alex Knauth
> On Jul 28, 2016, at 12:32 PM, Delphine Demange > wrote: > > >> I have just added `constructor-style-print/racket/init` to the `quote-bad` >> package so that you can do this: >> >> $ racket -I constructor-style-print/racket/init >> [...] >> What it does is require `racket/init` and >> `con

Re: [racket-users] racket command-line REPL: Constructor style printing mode?

2016-07-28 Thread Delphine Demange
> I have just added `constructor-style-print/racket/init` to the `quote-bad` > package so that you can do this: > > > $ racket -I constructor-style-print/racket/init > [...] > What it does is require `racket/init` and > `constructor-style-print/lang/runtime-config`, and then call the `configur

Re: [racket-users] racket command-line REPL: Constructor style printing mode?

2016-07-28 Thread Alex Knauth
> On Jul 27, 2016, at 5:26 PM, Delphine Demange > wrote: > For my current use-case, using the racket in module mode, with the right > #lang directive at the top of the .rkt file is enough. > > For the interactive mode, however, I was expecting something like > > racket -I 'constructor-style

Re: [racket-users] DrRacket 6.5 + OS X El Capitan = slow execution

2016-07-28 Thread Robby Findler
Here's another experiment to try: 1) start DrRacket from the command-line, like this: $ env PLTDRBREAK=1 /Applications/Racket\ v6.5/bin/drracket You should see a small new window appears with two buttons, "Break Main Thread" and "Break All Threads". Hit Run and wait about half of the time yo