Re: [racket] Behavior of continuation-mark-set-≥list and continuation-mark-set-first with respect to key values

2012-05-07 Thread Galler
> but continuation marks are carefully designed to avoid breaking tail > recursion (they let you understand the tail behavior of your program, > more accurately) so that's why you see only one binding. Robby, Yes. That is exactly what happened. On further inspection, I was using with-continuatio

Re: [racket] Snips displaying pdfs

2012-05-07 Thread Jens Axel Søgaard
2012/5/8 Michael W : > Sure, but I mean, is there a better way to get at a dc<%>'s cairo > context than (require racket/draw/private/local) ? From what I > understand, those areas aren't meant to be used by third-party > libraries, and definitely not by planet packages. Not all dc<%>s > are even ba

Re: [racket] changing from installation language

2012-05-07 Thread Gregor Kiczales
Never mind. I found it after looking one more time once I sent the message. On 2012-05-07, at 8:54 PM, Gregor Kiczales wrote: > I have a student who's laptop is configured to be in Korean. Dr Racket when > it installed set itself up in Korean as well. > > How could he change Dr Racket to engl

[racket] changing from installation language

2012-05-07 Thread Gregor Kiczales
I have a student who's laptop is configured to be in Korean. Dr Racket when it installed set itself up in Korean as well. How could he change Dr Racket to english (american or canadian is fine). Racket Users list: http://lists.racket-lang.org/users

Re: [racket] Ubuntu 12.04

2012-05-07 Thread Logan Mayfield
When I first upgraded to 12.04 the previously installed (built from source) version of DrRacket wouldn't load. I re-compiled (5.3.0.4--2012-04-30(1b7f9bf/g) [3m]) and it runs fine now. Maybe that's it? -Logan Racket Users list: http://lists.racket-lang.org/users

Re: [racket] Snips displaying pdfs

2012-05-07 Thread Eli Barzilay
A few minutes ago, Michael W wrote: > Sure, but I mean, is there a better way to get at a dc<%>'s cairo > context than (require racket/draw/private/local) ? From what I > understand, those areas aren't meant to be used by third-party > libraries, and definitely not by planet packages. Not all dc<%>

Re: [racket] Snips displaying pdfs

2012-05-07 Thread Michael W
Sure, but I mean, is there a better way to get at a dc<%>'s cairo context than (require racket/draw/private/local) ? From what I understand, those areas aren't meant to be used by third-party libraries, and definitely not by planet packages. Not all dc<%>s are even backed by cairo contexts... 16 m

[racket] Summer School on Language Frameworks

2012-05-07 Thread Robby Findler
In case any of you are interested. Redex will be represented. Robby - Summer School on Language Frameworks Sinaia, Romania, July 23-31, 2012. http://www.linkedin.com/in/guidowachsmuth This nine-day summer school is dedicated to investigati

Re: [racket] Snips displaying pdfs

2012-05-07 Thread Eli Barzilay
Three hours ago, Michael W wrote: > > I'm not rasterizing to a bitmap% or anything like that. Instead, > I'm asking poppler to draw directly to the dc<%>'s cairo context > (Eli and Matthew are probably cringing), which means that you can > render to arbitrary dc<%> objects at the cost of being muc

Re: [racket] module system overview

2012-05-07 Thread Danny Yoo
On Mon, May 7, 2012 at 7:25 PM, Ravi Chemudugunta wrote: > Is the picture in 6.1.1 correct? > > Looks like the "db" and "machine" folder names need to be interchanged. Yes, they're flipped. This is already reported and fixed in the source tree. For reference, see: http://lists.racket-lang.

Re: [racket] module system overview

2012-05-07 Thread Ravi Chemudugunta
Is the picture in 6.1.1 correct? Looks like the "db" and "machine" folder names need to be interchanged. On Tue, May 8, 2012 at 11:15 AM, Ravi Chemudugunta wrote: > Thanks everyone for replying I will read through the link Asumu posted: > > > http://docs.racket-lang.org/guide/module-basics.html

Re: [racket] module system overview

2012-05-07 Thread Ravi Chemudugunta
Thanks everyone for replying I will read through the link Asumu posted: > http://docs.racket-lang.org/guide/module-basics.html -- C-x C-s, C-x C-c Racket Users list: http://lists.racket-lang.org/users

[racket] idioms for abstracting over definitions

2012-05-07 Thread Patrick Mahoney
#| Hello all, in a quest for greater concision, I'm looking for a way to abstract over the following code containing mostly definitions. Is there an accepted practice for abstraction over definition introduction?|# (define top-right-x (lambda (a-grid-plane a-cell) ;;The next three definitions a

Re: [racket] Snips displaying pdfs

2012-05-07 Thread Michael W
(sorry; forgot to cc users@) Done! ...Sort of. Put a 'test.pdf' in (current-directory) and try this out: (require slideshow/pict (planet gcr/pdf-render)) (show-pict (rotate (pdf-page->pict "./test.pdf" 0) (* 0.25 pi))) I'm not rasterizing to a bitmap% or anything lik

Re: [racket] module system overview

2012-05-07 Thread Ryan Culpepper
The Guide has been updated for submodules: http://pre.racket-lang.org/docs/html/guide/Module_Syntax.html Perhaps you were looking at the 5.2.1 release docs? Ryan On 05/07/2012 03:16 PM, Matthias Felleisen wrote: It looks like the Module Guide needs a serious update for the submodule addit

Re: [racket] module system overview

2012-05-07 Thread Matthias Felleisen
It looks like the Module Guide needs a serious update for the submodule addition. Any volunteers? -- Matthias On May 7, 2012, at 5:10 PM, Danny Yoo wrote: > , but, > is there anything out there that explains the rationale and problems > that it is trying to solve - > > > Modules let us box

Re: [racket] module system overview

2012-05-07 Thread Danny Yoo
> > , but, > is there anything out there that explains the rationale and problems > that it is trying to solve - > > Modules let us box code up for reuse. If you have some helper functions, you can put them in a module. A module can reuse the exports of other modules. Have you seen the Racket Gu

Re: [racket] module system overview

2012-05-07 Thread Grant Rettke
Sometimes you want a 'sin' function to calculate a ratio and sometimes you want a 'sin' function to do something bad. What happens when you want to use both of them in the same program? On Mon, May 7, 2012 at 3:47 PM, Ravi Chemudugunta wrote: > Hello, > > Does anyone know of a good overview of th

Re: [racket] module system overview

2012-05-07 Thread Asumu Takikawa
On 2012-05-08 08:47:42 +1200, Ravi Chemudugunta wrote: >Hello, >Does anyone know of a good overview of the module system, >I found a reference page that shows the module form, but, >is there anything out there that explains*the rationale and problems >that it is trying to solve

[racket] module system overview

2012-05-07 Thread Ravi Chemudugunta
Hello, Does anyone know of a good overview of the module system, I found a reference page that shows the module form, but, is there anything out there that explains the rationale and problems that it is trying to solve - or, does anyone have any ideas on where I could start in terms of reading ma

Re: [racket] Snips displaying pdfs

2012-05-07 Thread Jens Axel Søgaard
Hi Michael, It would be great if you turned it into a Planet package. I had no immediate need for pdfs, so I put it on hold. The code attached to the old message rendered the pdf into a png on disc, and then loaded the png as a snip. Since then Matthew added get-handle to Racket, so now one can

Re: [racket] Snips displaying pdfs

2012-05-07 Thread Michael W
This is wonderful. Do you mind if I publish a planet package using this code? 2 months ago on Sunday, Mar 18, 08:29AM, Jens Axel Søgaard wrote: > 2012/3/17 Neil Van Dyke : > > Jens Axel Søgaard wrote at 03/17/2012 09:17 AM: > > > >> Is it possible to display pdfs in snips without converting them t

Re: [racket] Ubuntu 12.04

2012-05-07 Thread Jackson Lawler
Hmm, that is strange. My scrolling is little better now than it was under 12.04 Beta 2, but still slower than all of my other applicatiions. I, too, built from the Unix source code. I downloaded it from the Racket website; is that where you downloaded your unix source from? The slow scrolling i

[racket] FINAL CFP: TFPIE 2012

2012-05-07 Thread Marco Morazan
Dear Racketeers, Please find the CFP for TFPIE 2012 below and consider submitting your work. Our submission site is now opened! CALL FOR PAPERS/PRESENTATIONS TFPIE 2012 International Workshop on Trends in Functional Programming in Education 2012 June 11 2012 University of St Andrews, Scotland ht

Re: [racket] Ubuntu 12.04

2012-05-07 Thread Neil Van Dyke
Jackson Lawler wrote at 05/07/2012 01:13 PM: I can confirm that DrRacket works on Ubuntu 12.0, but I had to do some fiddling to get it to work, and the scrolling is painfully slow. DrRacket 5.2.1 scrolling is speedy for me under Ubuntu 12.04 on a 5-year-old laptop. This is with a DrRacket I

Re: [racket] Ubuntu 12.04

2012-05-07 Thread Jackson Lawler
I can confirm that DrRacket works on Ubuntu 12.0, but I had to do some fiddling to get it to work, and the scrolling is painfully slow. I might be able to help you if you can tell me what happens when you run the command: drracket in a terminal window. John Rafkind helped with an issue I had usin

Re: [racket] help with building racket on Solaris-Sparc

2012-05-07 Thread HP Wei
Yes, that fixes the problem. The remaining issue popped up during 'make install', when we realized that racket needs cairo package installed in the system... thanks for your help, HP On Sun, 6 May 2012, Matthew Flatt wrote: I think FD_SET(), etc., are adding casts on some platforms, whi

Re: [racket] Ubuntu 12.04

2012-05-07 Thread Erich Rast
I can confirm that the latest stable release of DrRacket works fine on Xubuntu 12.04, too. On Sun, 6 May 2012 15:54:24 -0500 mauricio mejia wrote: > > the program is installed but does not load in Ubuntu 12.04 > Racket Users list:

Re: [racket] Ubuntu 12.04

2012-05-07 Thread Grant Rettke
I installed it like this on Lubuntu 12.04: Installed Racket March 2012 from sh sudo sh ./racket-5.2.1-bin-i386-linux-ubuntu-karmic.sh UNIX style? NO /opt/racket/5.2.1 skip links Update /etc/environment RKT_HOME=/opt/racket/5.2.1 :$RACKET_HOME/bin and it loads. Maybe you can elaborate on what hap

Re: [racket] Behavior of continuation-mark-set->list and continuation-mark-set-first with respect to key values

2012-05-07 Thread Galler
Thanks Robby. I'm attempting to implement the behavior described in Section 3.2 of your 2007 paper, specifically "each continuation frame can have any number of marks with distinct keys" by defining a new 'with-continuation-marks' syntax which will set up arbitrary number of nested 'with-c

[racket] Ubuntu 12.04

2012-05-07 Thread mauricio mejia
the program is installed but does not load in Ubuntu 12.04 Racket Users list: http://lists.racket-lang.org/users