[racket-dev] drdrdown?

2010-08-28 Thread John Clements
Is DrDr down? The latest build I see on drdr.racket-lang.org is from 2010-08-25. Apologies if I missed an announcement. John smime.p7s Description: S/MIME cryptographic signature _ For list-related administrative tasks:

Re: [racket-dev] RFC: Coding Guidelines

2010-08-28 Thread Eli Barzilay
On Aug 19, Jay McCarthy wrote: I hope I've incorporated much of the feedback from this thread: http://faculty.cs.byu.edu/~jay/tmp/201008161509-guidelines.html I (finally) read this and the thread that went on at the time, and I don't see any point in all of this, besides a vage plea to

Re: [racket-dev] drdrdown?

2010-08-28 Thread Jay McCarthy
Over the past few weeks, it has been stalling during the git fetch. The process tree looks like this: 5907 ?S 0:00 \_ /usr/bin/git fetch http://git.racket-lang.org/plt.git 5908 ?S 0:00 \_ git-remote-http http://git.racket-lang.org/plt.git

[racket-dev] relationship between define-struct and struct

2010-08-28 Thread Shriram Krishnamurthi
What is the relationship between define-struct and struct in Racket 5.0.1? By define-struct I mean the construct provided in ASL. In my custom language I have (define-struct tv (tag value)) (provide (struct-out tv)) and I get the error struct-out: no import for structure-type identifier in:

Re: [racket-dev] relationship between define-struct and struct

2010-08-28 Thread Robby Findler
This works fine in #lang racket, eg: #lang racket (define-struct s (a b)) (provide (struct-out s)) I think that ASL's define-struct is not racket's tho, so you'd probably have to read the docs carefully to understand what's different and what it does and why it is not working properly with

Re: [racket-dev] relationship between define-struct and struct

2010-08-28 Thread Shriram Krishnamurthi
On Sat, Aug 28, 2010 at 3:38 PM, Robby Findler ro...@eecs.northwestern.edu wrote: This works fine in #lang racket, eg: #lang racket (define-struct s (a b)) (provide (struct-out s)) I think that ASL's define-struct is not racket's tho, so you'd probably have to read the docs carefully to

Re: [racket-dev] relationship between define-struct and struct

2010-08-28 Thread Jay McCarthy
The student languages have a completely separate implementation of define-struct from Racket. [lang/private/teach.rkt: do-define-struct: line 716 For a reason unknown to me, the struct type descriptor [line 805] returned by make-struct-type does not get defined (although it does check to make

Re: [racket-dev] printing images in REPL

2010-08-28 Thread Shriram Krishnamurthi
The value I was returning is whatever kind of object is returned when you embed an image in the Definitions window. That is, this was a pasted, atomic image, not one created by a computation. I guess they're not treated the same, but I'm surprised that ASL processing the Definitions window

Re: [racket-dev] printing images in REPL

2010-08-28 Thread Robby Findler
I guess you don't have the print handler set up right. On Sat, Aug 28, 2010 at 8:23 PM, Shriram Krishnamurthi s...@cs.brown.edu wrote: The value I was returning is whatever kind of object is returned when you embed an image in the Definitions window.  That is, this was a pasted, atomic image,

Re: [racket-dev] printing images in REPL

2010-08-28 Thread Shriram Krishnamurthi
... which was my original question. But thanks. On Sat, Aug 28, 2010 at 9:36 PM, Robby Findler ro...@eecs.northwestern.edu wrote: I guess you don't have the print handler set up right. On Sat, Aug 28, 2010 at 8:23 PM, Shriram Krishnamurthi s...@cs.brown.edu wrote: The value I was returning

Re: [racket-dev] printing images in REPL

2010-08-28 Thread Robby Findler
Did you forget what I explained at PLT day? You don't seem to be asking questions in terms of those things, so I'm not sure whether what I say is getting thru at all. Robby On Sat, Aug 28, 2010 at 8:47 PM, Shriram Krishnamurthi s...@cs.brown.edu wrote: ... which was my original question.  But

Re: [racket-dev] printing images in REPL

2010-08-28 Thread Robby Findler
And sorry: here's a keyword: read-language. You'll want to set up your language so that it can answer those queries. Then drracket will call the info proc with 'configure-runtime. I could have sworn that was documented somewhere, but I'm not finding it (I think that must be a bug in searching or

Re: [racket-dev] printing images in REPL

2010-08-28 Thread Robby Findler
(Oh, and one of those modules is the place where you set current-print.) Robby On Sat, Aug 28, 2010 at 9:18 PM, Robby Findler ro...@eecs.northwestern.edu wrote: And sorry: here's a keyword: read-language. You'll want to set up your language so that it can answer those queries. Then drracket