Re: [racket] Scribble your blogs!

2012-06-02 Thread Matthew Flatt
At Mon, 02 Apr 2012 17:01:37 -0600, Ryan Culpepper wrote: > I've just released Scriblogify, a tool that lets you write blog > posts in Scribble and automatically upload them to Blogger-hosted > blogs (such as The Racket Blog). It's fantastic. I used `raco scriblogify' for the "Submodules" post on

[racket] First use of a PLaneT package

2012-06-02 Thread Joe Gilray
Hi Racketeers, I added "*(require (planet dherman/memoize:3:1))"* to my code and have been successful in using define/memo, but since this is my first experience with PLaneT, I have some basic questions. 1) The install took about 20 minutes, is this normal or did something go awry (see messages b

Re: [racket] Support for keyword functions in Typed Racket

2012-06-02 Thread Ray Racine
Nice. Thank you. On Sat, Jun 2, 2012 at 6:35 PM, Sam Tobin-Hochstadt wrote: > The highlight (with apologies to Jacob): > > #lang typed/racket > (: add-blaster : Number [#:y Number] -> Number) > (define (add-blaster x #:y [y 5]) (+ x y) > > (add-blaster 1) > (add-blaster 2 #:y 7) > > The details:

[racket] TypedRacket Exec Structures

2012-06-02 Thread Ray Racine
I'd like to create a Lens structure which is a procedure structure. The structures exec procedure would be a case-lambda parameterized by A, B. (define-struct/exec: (A B) Lens ([getter : (A -> B)][setter : (B A -> A)]) [fn : (case-> (A -> B) (B A -> A))]) where fn would be the getter and setter

Re: [racket] Debugging multiple modules in DrRacket

2012-06-02 Thread Robby Findler
On Sat, Jun 2, 2012 at 4:12 PM, Harry Spier wrote: > On Sat, Jun 2, 2012 at 2:46 PM, Robby Findler > wrote: > >> But I think that this means that you should probably turn off the >> automatic zo file creation option in the module language, or else you >> still won't be able to debug those files.

[racket] Support for keyword functions in Typed Racket

2012-06-02 Thread Sam Tobin-Hochstadt
The highlight (with apologies to Jacob): #lang typed/racket (: add-blaster : Number [#:y Number] -> Number) (define (add-blaster x #:y [y 5]) (+ x y) (add-blaster 1) (add-blaster 2 #:y 7) The details: Typed Racket now supports defining typed functions with keyword (and optional) arguments. To

Re: [racket] Debugging multiple modules in DrRacket

2012-06-02 Thread Harry Spier
On Sat, Jun 2, 2012 at 2:46 PM, Robby Findler wrote: > But I think that this means that you should probably turn off the > automatic zo file creation option in the module language, or else you > still won't be able to debug those files. > Thanks Robby. Do you mean the ---"Populate "compiled" dir

Re: [racket] Articles or discussions on Racket's implementation

2012-06-02 Thread curtis wolterding
Thanks for the suggestions, everyone. Looks like I'll have plenty of reading to keep me busy for a while. -Curtis On Sat, Jun 2, 2012 at 3:15 PM, Jay McCarthy wrote: > As for implementation Racket and/or Scheme, I'd suggest reading > Dybvig's papers [1], particularly his dissertation (which i

Re: [racket] Articles or discussions on Racket's implementation

2012-06-02 Thread Jay McCarthy
As for implementation Racket and/or Scheme, I'd suggest reading Dybvig's papers [1], particularly his dissertation (which is very readable by a novice) [2]. Also the articles on Larceny [3], including its web page about the compiler [4]. Finally, Casey Klein (and others) have a paper that describes

Re: [racket] Debugging multiple modules in DrRacket

2012-06-02 Thread Robby Findler
I've just pushed a change that seems to fix this, but reading over the code and experimenting with it a bit, I'm not sure why it is seeing the callbacks into the eval-handler in the order that it is seeing them so I'm not sure that my fix is the right one. Also, one thing to note: if there are com

Re: [racket] Articles or discussions on Racket's implementation

2012-06-02 Thread Matthias Felleisen
On Jun 2, 2012, at 10:32 AM, curtis wolterding wrote: > A friend and I recently finished working through this book together, The > Elements of Computing Systems -http://www1.idc.ac.il/tecs/, where we built a > computer (virtually) from the ground up: from NAND gates, to a (barely) > working co

Re: [racket] Articles or discussions on Racket's implementation

2012-06-02 Thread curtis wolterding
On Sat, Jun 2, 2012 at 10:39 AM, Neil Van Dyke wrote: > curtis wolterding wrote at 06/02/2012 10:32 AM: > > I can't stop thinking about how fun it would be to learn about the >> implementation of Scheme, or, more specifically, Racket! Does anyone know >> where I could find a good discussion or e

Re: [racket] Articles or discussions on Racket's implementation

2012-06-02 Thread Neil Van Dyke
curtis wolterding wrote at 06/02/2012 10:32 AM: I can't stop thinking about how fun it would be to learn about the implementation of Scheme, or, more specifically, Racket! Does anyone know where I could find a good discussion or explanation of the inner workings of either of these languages?

[racket] Articles or discussions on Racket's implementation

2012-06-02 Thread curtis wolterding
Hello Racketeers, A friend and I recently finished working through this book together, The Elements of Computing Systems - http://www1.idc.ac.il/tecs/, where we built a computer (virtually) from the ground up: from NAND gates, to a (barely) working compiler and a very basic OS. After finishing all