Re: [racket] Bug in PLaneT?

2013-05-20 Thread Robby Findler
I think probably the best thing is to upload a new package that doesn't have any spaces in the name. I'm not really sure if this is a bug in the package creation checking or in planet's handling of names with spaces and mixed case, but I guess that you should have gotten an error earlier in the pro

[racket] Bug in PLaneT?

2013-05-20 Thread Tomás Coiro
Maybe there's something i don't understand, but PLaneT is telling me that the way to require a package i've put there is: (require (planet |tomcoiro/Doodle Draw:1:1/lang|)) But putting that in DrRacket tells me it's an ill-formed package name, (possibly because i've put the package with spaces?

[racket] multiple instances of compiled for distribution software

2013-05-20 Thread Zelah Hutchinson
So I think I have a handle on how to run multiple instances of a compiled program under Mac OS. I should be able to catch the command-n keyboard input in my compiled application. But I run into a similar problem when I work in Windows OS. I compile my source code for distribution. When I double

Re: [racket] classroom response system

2013-05-20 Thread Matthias Felleisen
This sounds like a neat idea and like Joe and John said, "eminently doable." While it sounds like you want to add a menu entry to DrRacket so that students can "Open URL" instead of "Open File", I think you're better off having students download files from URLs and open them from their command

Re: [racket] rho-contracts.js: Racket-style contracts for plain JavaScript

2013-05-20 Thread Sean McBeth
That is really cool! On Mon, May 20, 2013 at 6:08 PM, Guillaume Marceau wrote: > Hi all, > > > In case this might interest some folks here. I now work for a start up in > New York. We're doing physics-based analysis of green buildings. I just > received permission to release our JavaScript imple

[racket] rho-contracts.js: Racket-style contracts for plain JavaScript

2013-05-20 Thread Guillaume Marceau
Hi all, In case this might interest some folks here. I now work for a start up in New York. We're doing physics-based analysis of green buildings. I just received permission to release our JavaScript implementation of Racket's contracts under an open source license, MPL to be precise. https://gi

Re: [racket] Kernel size for flomap-gaussian-blur

2013-05-20 Thread Dmitry Cherkassov
Thanks! -- With best regards, Dmitry Racket Users list: http://lists.racket-lang.org/users

Re: [racket] Compiling Racket for Command-Line Use Only

2013-05-20 Thread Matthew Flatt
I predict a thread on the dev list (everyone welcome) later today... On May 20, 2013, at 8:01 AM, Ray Racine wrote: > What is the roadmap with min-Racket? Here I'm assuming min-Racket as the > eventual official core racket release and everything else a layered add-on > via the package mana

Re: [racket] multiple instances of compiled for distribution software

2013-05-20 Thread Justin R. Slepak
Cmd-N typically just opens a new window in the current instance. Use cmd-tab or look in the Dock, and you'll see you still only have one instance of your program running. Explicitly invoking the executable inside the .app bundle will produce a separate instance -- you can see on cmd-tab that you

Re: [racket] multiple instances of compiled for distribution software

2013-05-20 Thread Hendrik Boom
On Sun, May 19, 2013 at 04:10:43PM -0800, Zelah Hutchinson wrote: > > > content="INBOX.COM" name=GENERATOR> > > I am curious as to whether it would be possible to run multiple instances of > a compiled Racket program. If so, then how may I do this? When I try to run > the program twice by dou

Re: [racket] [Typed Racket] define-predicate for union with functions

2013-05-20 Thread Eric Dobson
No, you cannot define predicates for function types. If you explain the problem you have, we might be able to explain another solution that will work. On Mon, May 20, 2013 at 1:32 AM, Paul Leger wrote: > Hi all, > Maybe, this question is very easy. In the following code, I try > defining a

Re: [racket] Compiling Racket for Command-Line Use Only

2013-05-20 Thread Ray Racine
What is the roadmap with min-Racket? Here I'm assuming min-Racket as the eventual official core racket release and everything else a layered add-on via the package management system, Planet(N) et al. Which is something I'd very much like to see as a direction. FWIW, I would remove json and db f

Re: [racket] Compiling Racket for Command-Line Use Only

2013-05-20 Thread Matthew Flatt
You could also try https://github.com/mflatt/min-racket At Sun, 19 May 2013 11:19:30 -0600, Jon Rafkind wrote: > I think most of the graphical stuff should be loaded at runtime, and you > should not need those libraries just to compile racket. > > On 05/19/2013 11:16 AM, Nathan Campos wrote:

Re: [racket] multiple instances of compiled for distribution software

2013-05-20 Thread Matthew Flatt
At Sun, 19 May 2013 16:10:43 -0800, Zelah Hutchinson wrote: > I am curious as to whether it would be possible to run multiple > instances of a compiled Racket program. If so, then how may I do > this? When I try to run the program twice by double clicking in Mac > OS, I still only get one running p

[racket] [Typed Racket] define-predicate for union with functions

2013-05-20 Thread Paul Leger
Hi all, Maybe, this question is very easy. In the following code, I try defining a predicate for T2, but I cannot because T1 it is a function. (define-type T1 (Symbol -> Any) ) (define-type T2 (U Symbol Number T1)) ;(define-predicate T1? Procedure) ;this line is useless (define-predicat