[racket] Sending s-expr to repl

From: Karl Winterling (kwinterling at gmail.com)
Date: Thu Jun 24 13:08:35 EDT 2010

Copy the definition, paste it into the REPL, and press return. Otherwise

subx:
if (bac >= 0.15)
   exit(-1);
else {
drink_beer();
hit_head_with_brick(&SELF);
goto subx;
}

On Thu, Jun 24, 2010 at 12:34 AM, Jordan Johnson <jmj at fellowhuman.com> wrote:
> See
>  http://blog.racket-lang.org/2009/03/drscheme-repl-isnt-lisp.html
> for a detailed answer.
>
> Best,
> Jordan
>
>
> On Jun 24, 2010, at 12:12 AM, Mark Carter <mcturra2000 at yahoo.co.uk> wrote:
>
>> Scheme newbie here. I've always had a bee in my bonnet for the Lispy
>> languages, but had never gotten into them fully for one reason or another.
>> I've been playing with DrRacket, and have been able to plot graphs using it.
>> Way cool!
>>
>> Anyway, my actual question is: using DrRacket, is there a way of sending
>> the s-expr at the cursor to the repl, a la emacs? I think that would be a
>> very nice feature.
>>
>>
>>
>>
>> _________________________________________________
>>  For list-related administrative tasks:
>>  http://lists.racket-lang.org/listinfo/users
>
> _________________________________________________
>  For list-related administrative tasks:
>  http://lists.racket-lang.org/listinfo/users
>


Posted on the users mailing list.