Re: [racket-dev] Creating executables still broken

2011-10-05 Thread Marijn
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 10/04/11 20:59, Matthew Flatt wrote: I think I found the problem. Can you try the latest version? Thanks Matthew, everything seems to work now. At Tue, 04 Oct 2011 09:42:53 +0200, Marijn wrote: On 10/03/11 17:07, Matthew Flatt wrote: At Mon,

[racket-dev] plea for short planet syntax in student languages?

2011-10-05 Thread John Clements
I'm using the rsound planet package in beginning student languages, and requiring them to type (require (planet main.rkt (clements rsound.plt 2 6))) at the top of every file is a bit painful. Would it be difficult to support the shorter (require (planet clements/rsound)) syntax in the

Re: [racket-dev] plea for short planet syntax in student languages?

2011-10-05 Thread Nadeem Abdul Hamid
Yes, please! --- nadeem On Wed, Oct 5, 2011 at 12:20 PM, John Clements cleme...@brinckerhoff.org wrote: I'm using the rsound planet package in beginning student languages, and requiring them to type (require (planet main.rkt (clements rsound.plt 2 6))) at the top of every file is a bit

[racket-dev] New plot library pushed

2011-10-05 Thread Neil Toronto
I've just pushed the new 'plot' library. Eli and I both forgot that the new 'plot' still needs the old libfit, and removed it along with libplplot. I just added libfit back (the sources are in src/fit now instead of src/plot/fit) along with the proper configure, Makefile.in, and get-libs.rkt

Re: [racket-dev] plea for short planet syntax in student languages?

2011-10-05 Thread Stephen Bloch
On Oct 5, 2011, at 12:20 PM, John Clements wrote: I'm using the rsound planet package in beginning student languages, and requiring them to type (require (planet main.rkt (clements rsound.plt 2 6))) at the top of every file is a bit painful. Would it be difficult to support the

Re: [racket-dev] plea for short planet syntax in student languages?

2011-10-05 Thread Stephen Bloch
On Oct 5, 2011, at 12:20 PM, John Clements wrote: Would it be difficult to support the shorter (require (planet clements/rsound)) syntax in the student languages? For that matter, is there any good reason to restrict the syntax of require at ALL in student languages? I mean, it's not

Re: [racket-dev] [plt] Push #23663: master branch updated

2011-10-05 Thread Ryan Culpepper
On 10/05/2011 01:13 PM, ntoro...@racket-lang.org wrote: ntoronto has updated `master' from e1a82481d1 to 32d789d4f8. http://git.racket-lang.org/plt/e1a82481d1..32d789d4f8 [...] ; fit-int : (number* - number) (list-of (symbol number)) (list-of (vector number [number] number number)) -

Re: [racket-dev] New plot library pushed

2011-10-05 Thread Doug Williams
Does this mean it will it be in the next 'nightly' build? On Wed, Oct 5, 2011 at 10:45 AM, Neil Toronto neil.toro...@gmail.comwrote: I've just pushed the new 'plot' library. Eli and I both forgot that the new 'plot' still needs the old libfit, and removed it along with libplplot. I just

[racket-dev] Distributing C libraries (was: Re: New plot library pushed)

2011-10-05 Thread John Clements
On Oct 5, 2011, at 9:45 AM, Neil Toronto wrote: I've just pushed the new 'plot' library. Eli and I both forgot that the new 'plot' still needs the old libfit, and removed it along with libplplot. I just added libfit back (the sources are in src/fit now instead of src/plot/fit) along with

Re: [racket-dev] racket/match is broken

2011-10-05 Thread Jay McCarthy
I've tracked the problem down to reorder-columns. There are no test cases anywhere for reorder-columns and the code has no comments on its purpose, so I'm not sure how to fix it. It seems that the presence of Null and Dummy in the parse of the pattern causes the app to be lifted out, but I can't

Re: [racket-dev] [plt] Push #23663: master branch updated

2011-10-05 Thread Ryan Culpepper
On 10/05/2011 02:36 PM, Neil Toronto wrote: On 10/05/2011 01:44 PM, Ryan Culpepper wrote: On 10/05/2011 01:13 PM, ntoro...@racket-lang.org wrote: ntoronto has updated `master' from e1a82481d1 to 32d789d4f8. http://git.racket-lang.org/plt/e1a82481d1..32d789d4f8 [...] ; fit-int : (number* -

Re: [racket-dev] racket/match is broken

2011-10-05 Thread Sam Tobin-Hochstadt
On Wed, Oct 5, 2011 at 5:13 PM, Jay McCarthy jay.mccar...@gmail.com wrote: Basically, it calls the app function on the second element of the list even though the head of the list has failed to pattern match. This is not a bug. `match' makes no guarantee about the order in which it checks

Re: [racket-dev] racket/match is broken

2011-10-05 Thread Jay McCarthy
Okay. I think it is strange, but feel free to do that and revert my change. Apologies for the confusion. The use case I was actually doing was like this: [(list '+ (app parse lhs) (app parse rhs)) ...] [(list 'fun (list (? symbol? arg) ...) (app parse body)) ...] And when you gave it a '(fun

Re: [racket-dev] racket/match is broken

2011-10-05 Thread Robby Findler
Why wouldn't you write that match like this: (match .. [`(+ ,lhs ,rhs) (make-plus (parse lhs) (parse rhs))] [`(fun (,(? symbol arg) ...) ,body) (make-fun arg (parse body))]) Robby On Wed, Oct 5, 2011 at 9:48 PM, Jay McCarthy jay.mccar...@gmail.com wrote: Okay. I think it is strange, but