Re: [racket-dev] Racket breaking and exiting

2011-06-01 Thread Eduardo Bellani
I think I understand you, but in that case it should report the undefined reference and stay on the repl, no? Thanks everyone of the prompt answers. On 06/01/2011 08:37 PM, John Clements wrote: > > On Jun 1, 2011, at 4:04 PM, Eduardo Bellani wrote: > >> My racket breaks if the following code is

Re: [racket-dev] failed bug report

2011-06-01 Thread Eli Barzilay
Two hours ago, David Vanderson wrote: > Thanks for Racket! > > I tried to send a bug report via drracket, but got this error: > > An error occurred when submitting your Racket bug report. > [...] Ugh -- sorry, I have been tweaking the bug system today and forgot to undo something. Fixed now.

Re: [racket-dev] Racket breaking and exiting

2011-06-01 Thread Matthias Felleisen
I am not sure how faithful drracket should be to racket. It's clearly doable. Question is whether it's desirable. On Jun 1, 2011, at 9:28 PM, Robby Findler wrote: > DrRacket has more control than Racket does over how the repl interacts > with it's environment so it is not broken in this mann

Re: [racket-dev] Racket breaking and exiting

2011-06-01 Thread Robby Findler
DrRacket has more control than Racket does over how the repl interacts with it's environment so it is not broken in this manner. (unless you think this is desireable, to be more faithful?) Robby On Wednesday, June 1, 2011, Matthias Felleisen wrote: > > DrRacket behaves differently here. It silen

Re: [racket-dev] Racket breaking and exiting

2011-06-01 Thread Matthias Felleisen
DrRacket behaves differently here. It silently ignores the expression as far as I can tell. On Jun 1, 2011, at 7:37 PM, John Clements wrote: > > On Jun 1, 2011, at 4:04 PM, Eduardo Bellani wrote: > >> My racket breaks if the following code is executed: >> >> (current-input-port (open-input

[racket-dev] failed bug report

2011-06-01 Thread David Vanderson
Thanks for Racket! I tried to send a bug report via drracket, but got this error: An error occurred when submitting your Racket bug report. Please enter the correct text at the bottom of the bug form. If this problem persists, please send email to the Racket mailing list, or to rac...@racket-

Re: [racket-dev] Racket breaking and exiting

2011-06-01 Thread John Clements
On Jun 1, 2011, at 4:04 PM, Eduardo Bellani wrote: > My racket breaks if the following code is executed: > > (current-input-port (open-input-string "a")) > > with the following message: > > reference to undefined identifier: a ? That sounds like the right behavior to me, in an environment wi

[racket-dev] Racket breaking and exiting

2011-06-01 Thread Eduardo Bellani
My racket breaks if the following code is executed: (current-input-port (open-input-string "a")) with the following message: reference to undefined identifier: a === context === /usr/lib/racket/collects/racket/private/misc.rkt:85:7 My version is v5.1.0.4. running on linux. Any ideas? -- Ed

Re: [racket-dev] Please help me to fix the code

2011-06-01 Thread Yingjian Ma
I see. I cannot use it as I said in my first post. But I got your idea. I'll rename addone to count or something else. On Tue, May 31, 2011 at 10:29 PM, Rodolfo Carvalho wrote: > add1 comes for free, it's built-in. > > And it does exactly that! > > []'s > > Rodolfo Carvalho > > > PS: please use