[racket] Splitting module API across two scribble modules

2011-11-14 Thread Neil Toronto
Say I have a two-page scribble/manual document, documenting module `foo'. I'd like `(require foo)' to appear at the top of both pages. What's the best way to do that without duplicating keys? Neil T _ For list-related administrative tasks: http:

[racket] question on 32 vs 64 bit environments

2011-11-14 Thread Danny Yoo
Quick check: does the Racket bytecode format change whether or not the platform is 32-bit or 64-bit? I would guess not, but I want to make sure. Thanks! _ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/users

[racket] Ceylon language borrows Typed Racket features?

2011-11-14 Thread Luke Vilnis
Has anyone taken a look at the upcoming language Ceylon? It feels to me like a pretty aggressively blub-y Java clone, but it has two features that seem like they're ripped straight out of Typed Racket. It looks like the language includes a basi

Re: [racket] DrRacket needs work

2011-11-14 Thread Neil Van Dyke
Robby Findler wrote at 11/14/2011 10:34 PM: How about this one? http://www.iconfinder.com/icondetails/3207/16/ I think it's an improvement over the magnifying glass, but you might want something other than *only* a green checkmark in the icon. In GUIs in general, I think a green checkmar

Re: [racket] DrRacket needs work

2011-11-14 Thread Robby Findler
How about this one? http://www.iconfinder.com/icondetails/3207/16/ Robby On Mon, Nov 14, 2011 at 8:21 PM, Sam Tobin-Hochstadt wrote: > On Mon, Nov 14, 2011 at 9:11 PM, Robby Findler > wrote: > >> Also, does anyone know if the license: >> >>  http://creativecommons.org/licenses/by-sa/3.0/ >> >>

Re: [racket] Feature request: requires make it into Interactions even if Definitions have an error

2011-11-14 Thread Danny Yoo
On Mon, Nov 14, 2011 at 9:04 PM, Todd O'Bryan wrote: > I should have been clearer. It is compile-time errors. Runtime work fine. Ok, cool. I have this problem myself, but as a professional programmer, I use a revision control system like 'git' to save my hide. The basic idea is that I checkpoin

Re: [racket] DrRacket needs work

2011-11-14 Thread Sam Tobin-Hochstadt
On Mon, Nov 14, 2011 at 9:11 PM, Robby Findler wrote: > Also, does anyone know if the license: > >  http://creativecommons.org/licenses/by-sa/3.0/ > > conflict with how we distribute Racket currently? CC-BY-SA is incompatible with the LGPL, although I don't think that's a problem in this case, s

Re: [racket] DrRacket needs work

2011-11-14 Thread Robby Findler
I think that's a good start, but when I put it into the DrRacket bar, the green checkmark seems too hard to make out (you can try this by replacing the file collects/icons/syncheck.png with the 16x16 version of that icon (or any other, of course)). Also, does anyone know if the license: http://

Re: [racket] Feature request: requires make it into Interactions even if Definitions have an error

2011-11-14 Thread Todd O'Bryan
I should have been clearer. It is compile-time errors. Runtime work fine. On Mon, Nov 14, 2011 at 3:34 PM, Danny Yoo wrote: > On Mon, Nov 14, 2011 at 3:12 PM, Todd O'Bryan wrote: >> One thing that annoys me about DrRacket is that, if you have an error >> in the Definitions pane, none of your req

[racket] Feature request: requires make it into Interactions even if Definitions have an error

2011-11-14 Thread Todd O'Bryan
But then you have to re-evaluate it every time you press Run... I had forgotten about the fact that the require could have an error, which clearly makes this impossible in the general case. I guess what I'd like is a "sticky" require that gets loaded into the REPL each time I hit run, even if ther

Re: [racket] lazy racket

2011-11-14 Thread Eric Tanter
Thanks Stephen, Eli finally responded pointing out to his pl plugin at http://pl.barzilay.org/pl.plt His lazy.rkt does some "bad hack" (I cite ;)) to ensure all results are forced in the repl. That's what I needed, so for now, I'll just use his `#lang pl lazy' instead of `#lang lazy'. Hopefull

Re: [racket] DrRacket needs work

2011-11-14 Thread Asumu Takikawa
On 2011-11-14 15:56:00 -0500, Neil Van Dyke wrote: > I think that *the* lowest-hanging fruit for DrRacket UI > approachability for everyone would be to tweak some of the toolbar > icons, probably by using off-the-shelf Free Software icons.[*] > > The first two icons I'd change are Stop (make more m

Re: [racket] DrRacket needs work

2011-11-14 Thread John Clements
On Nov 14, 2011, at 2:58 PM, Neil Van Dyke wrote: > Robby Findler wrote at 11/14/2011 05:45 PM: >> I've looked through iconfinder.com on more than one occasion for a >> reasonable check syntax icon, but not found one. Any specific >> suggestions? >> > > If no one can find a suitable icon off-

[racket] round/square (was: Re: DrRacket needs work)

2011-11-14 Thread John Clements
On Nov 14, 2011, at 8:43 AM, Robby Findler wrote: > Yes, I believe the bug is in that interaction. Sorry I've not had a > chance to look into it yet. Let me stick my hand up here: I'm the one who added automatic parens. Yes, automatic parens don't work with square brackets. This is a symptom of

Re: [racket] DrRacket needs work

2011-11-14 Thread Neil Van Dyke
Robby Findler wrote at 11/14/2011 05:45 PM: I've looked through iconfinder.com on more than one occasion for a reasonable check syntax icon, but not found one. Any specific suggestions? If no one can find a suitable icon off-the-shelf, and can't think of a good analogue to use, then maybe

Re: [racket] DrRacket needs work

2011-11-14 Thread Robby Findler
I've looked through iconfinder.com on more than one occasion for a reasonable check syntax icon, but not found one. Any specific suggestions? Robby On Mon, Nov 14, 2011 at 2:56 PM, Neil Van Dyke wrote: > Jukka Tuominen wrote at 11/14/2011 03:09 PM: >> >> - More professional help is needed for re

Re: [racket] DrRacket needs work

2011-11-14 Thread Nadeem Abdul Hamid
One other suggestion/request for the automatic parens feature: Can it be set up so that it skips over the closing paren if the user types ')' while the cursor is right in front of the automatically-inserted ')' ? I don't know about paredit but Eclipse does this with parens and various types of bra

Re: [racket] lazy racket

2011-11-14 Thread Stephen Chang
On Mon, Nov 14, 2011 at 5:04 PM, Eric Tanter wrote: > Thanks for the input. > I tried with Lazy Racket in the language menu instead of #lang, but it does > not really do what I want (ie. Haskell). > Actually, apart from the fact that things are printed differently, the result > is quite the same

Re: [racket] lazy racket

2011-11-14 Thread Eric Tanter
Thanks for the input. I tried with Lazy Racket in the language menu instead of #lang, but it does not really do what I want (ie. Haskell). Actually, apart from the fact that things are printed differently, the result is quite the same: > ones (cons 1 (delay ...)) ;; ! is not enough > (! ones)

Re: [racket] lazy racket

2011-11-14 Thread Stephen Chang
The problem is that only applications are wrapped with the toplevel-forcer. (And you don't actually need !!. Just the regular ! should be sufficient.) For a short term solution, if you select Lazy Racket in the language menu instead of #lang lazy, it will do what you want, due to a subtlety in the

Re: [racket] DrRacket needs work

2011-11-14 Thread Neil Van Dyke
Jukka Tuominen wrote at 11/14/2011 03:09 PM: - More professional help is needed for refined look and feel on layout details, illustrations, and icon design (metaphors and looks). I think that *the* lowest-hanging fruit for DrRacket UI approachability for everyone would be to tweak some of

Re: [racket] Feature request: requires make it into Interactions even if Definitions have an error

2011-11-14 Thread Danny Yoo
On Mon, Nov 14, 2011 at 3:12 PM, Todd O'Bryan wrote: > One thing that annoys me about DrRacket is that, if you have an error > in the Definitions pane, none of your required modules are loaded, so > if you try to fiddle in the Interactions window, you get "undefined" > errors. By error, do you m

Re: [racket] Feature request: requires make it into Interactions even if Definitions have an error

2011-11-14 Thread Matthias Felleisen
Why don't you evaluate the require in the REPL directly? (The error could be in a require line, so there is no way of saying 'load this even if hell breaks loose'). On Nov 14, 2011, at 3:12 PM, Todd O'Bryan wrote: > One thing that annoys me about DrRacket is that, if you have an error > in t

[racket] Feature request: requires make it into Interactions even if Definitions have an error

2011-11-14 Thread Todd O'Bryan
One thing that annoys me about DrRacket is that, if you have an error in the Definitions pane, none of your required modules are loaded, so if you try to fiddle in the Interactions window, you get "undefined" errors. It may be that (require ...) can appear pretty much anywhere, so I don't know if i

Re: [racket] DrRacket needs work

2011-11-14 Thread Jukka Tuominen
Hi all, I wish I had more time for this thread topic at the moment since it's extremely interesting to me because usability and visual GUI design is my daily work and passion, but also because I'd also like to improve the Racket IDE and hopefully even see a GUI builder integrated into it event

[racket] lazy racket

2011-11-14 Thread Eric Tanter
Hi, I'd like to tweak Lazy Racket such that the top-level interactions in the REPL always use `!!' (recursive force), in order to mimic Haskell's behavior as close as possible. If someone can help me in the very brief term, I would really appreciate it (I plan to start teaching on laziness usi

Re: [racket] Delivering / distributing an application that uses places

2011-11-14 Thread Brian Mastenbrook
On 11/04/2011 11:40 AM, Brian Mastenbrook wrote: I can't figure out how to distribute an application that uses places. Is there anything I can do to help on this? I'm not sure if this is currently intended to work or if this is something that's known to be unimplemented. If it's the latter, w

Re: [racket] DrRacket needs work

2011-11-14 Thread Robby Findler
Yes, I believe the bug is in that interaction. Sorry I've not had a chance to look into it yet. Robby On Mon, Nov 14, 2011 at 7:58 AM, Sam Tobin-Hochstadt wrote: > This may be a bad interaction between the automatic parens and the > automatic paren adjustment, which puts in the right kind of par

Re: [racket] Sending a method as a symbol

2011-11-14 Thread Matthew Flatt
At Sun, 13 Nov 2011 21:00:55 +, "nicolas.o...@gmail.com" wrote: > Is there a function to send to a class with a dynamic symbol instead of a > static one? > > As in (send 'method-name) I'll look into this more, but you can write (send-generic o (make-generic (object-interface o) 'method

Re: [racket] DrRacket needs work

2011-11-14 Thread Richard Cleis
The example can be simpler; typing a square bracket in a blank definitions window makes a single paren. The hotkey still makes a pair, though. I wish I knew about this automatic paren stuff. I have been wearing out my esc-key. rac On Nov 14, 2011, at 6:58 AM, Sam Tobin-Hochstadt wrote: > This

Re: [racket] DrRacket needs work

2011-11-14 Thread Sam Tobin-Hochstadt
This may be a bad interaction between the automatic parens and the automatic paren adjustment, which puts in the right kind of paren in the right place. Robby, do you know what's going on here? On Mon, Nov 14, 2011 at 8:49 AM, Eric Tanter wrote: > Here is what I did: > > - activate the automatic

Re: [racket] DrRacket needs work

2011-11-14 Thread Eric Tanter
Here is what I did: - activate the automatic parentheses option then: type `(' --> () type `let (' --> (let ()) type `[' --> (let ([)) Here I would have expected --> (let ([])) ? -- Éric On Nov 14, 2011, at 10:10 AM, Sam Tobin-Hochstadt wrote: > They have successfully inserted thousands

Re: [racket] DrRacket needs work

2011-11-14 Thread Shriram Krishnamurthi
Right. A Racket Declaration of Independence. (-: _ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/users

Re: [racket] DrRacket needs work

2011-11-14 Thread Raoul Duke
On Mon, Nov 14, 2011 at 5:19 AM, Shriram Krishnamurthi wrote: > This is a pretty poor example to illustrate your point, because Racket > still does not have static type checking. my bad word choice or understanding of Typed Racket aside, the point is that some people think static typing is "emin

Re: [racket] DrRacket needs work

2011-11-14 Thread Shriram Krishnamurthi
> having said that, "eminently sensible" is in the eye of the beholder. > after all, racket didn't have static type checking for most of its > life, no? i am not saying it is or is not eminent in my own view, i am > pointing out that it is pretty subjective so you can't actually call > it "eminentl

Re: [racket] DrRacket needs work

2011-11-14 Thread Sam Tobin-Hochstadt
They have successfully inserted thousands of square brackets for me. :) What are you doing that doesn't work? On Mon, Nov 14, 2011 at 6:06 AM, Eric Tanter wrote: > Nice! > > but automatic parentheses does not seem to work with square brackets. > > -- Éric > > > On Nov 13, 2011, at 10:42 AM, Robb

Re: [racket] DrRacket needs work

2011-11-14 Thread Raoul Duke
On Mon, Nov 14, 2011 at 4:41 AM, Shriram Krishnamurthi wrote: >> i do it in emacs usually if we are talking about being able to >> evaluate chunks. > > In short, you're expecting that DrRacket's functionality is going to > include a traditional IDE AND Emacs?  Is that a reasonable demand? what i

Re: [racket] DrRacket needs work

2011-11-14 Thread Shriram Krishnamurthi
> i do it in emacs usually if we are talking about being able to > evaluate chunks. But Emacs is not an IDE. You began by complaining that DrRacket is not more like other traditional IDEs, and making platform-specific complaints. Is there ANY sense in which Emacs is more platform-specific than D

Re: [racket] DrRacket needs work

2011-11-14 Thread Jos Koot
I use DrRacket for years on windows and I neened hardly any documentation or help with the user interface. The menu scheme seems rather logical to me. Jos -Original Message- From: users-boun...@racket-lang.org [mailto:users-boun...@racket-lang.org] On Behalf Of Raoul Duke Sent: domingo, 1

Re: [racket] DrRacket needs work

2011-11-14 Thread Eric Tanter
Nice! but automatic parentheses does not seem to work with square brackets. -- Éric On Nov 13, 2011, at 10:42 AM, Robby Findler wrote: > Thanks for the suggestions. One minor observation below. > > On Sun, Nov 13, 2011 at 4:50 AM, Tomi Neste wrote: >> - Paredit like editing functions, I can'

[racket] Can not set breakpoints on macro calls that do not expand into a single command

2011-11-14 Thread Dmitry Pavlov
Hello, I am having trouble debugging Racket code that contains macros. Here is the simplest example: #lang racket (define-syntax-rule (my-print x) (printf "~a\n" x)) (define-syntax-rule (my-print1 x) (begin (printf "~a\n" x))) (my-print 10) (my-print1 20) (my-print 30) (my-print1 40