[racket] users Digest, Vol 109, Issue 55
Please take me off the list
Thanks
On Thu, Sep 25, 2014 at 8:57 AM, <users-request at racket-lang.org> wrote:
> Send users mailing list submissions to
> users at racket-lang.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://lists.racket-lang.org/users/listinfo
> or, via email, send a message with subject or body 'help' to
> users-request at racket-lang.org
>
> You can reach the person managing the list at
> users-owner at racket-lang.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of users digest..."
>
>
> [Racket Users list:
> http://lists.racket-lang.org/users ]
>
>
> Today's Topics:
>
> 1. macro question (Alejandro Zamora)
> 2. Re: ranking items by their appearance in sets (David T. Pierson)
> 3. Switching from editor to repl (C K Kashyap)
> 4. Re: Switching from editor to repl (Jay McCarthy)
> 5. Re: Switching from editor to repl (C K Kashyap)
> 6. Re: Switching from editor to repl (Robby Findler)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Wed, 24 Sep 2014 22:35:49 -0400
> From: Alejandro Zamora <terefv at ltu.sld.cu>
> To: Racket Users <users at racket-lang.org>
> Subject: [racket] macro question
> Message-ID: <20140924223549.7f15c912 at alejandro-H61H2-CM>
> Content-Type: text/plain; charset=US-ASCII
>
> Hi Racket people:
> I have a (maybe too simple) question:
> How I create one macro like this (but using define-macro &
> R5RS language only)?:
>
> (vars sym var-cant val-of-vars)
>
> Example:
> (vars id 5 null) -> (prog (define id1 null)
> (define id2 null)
> (define id3 null)
> (define id4 null)
> (define id5 null))
>
> --
> Nunca digas nunca, di mejor: gracias, permiso, disculpe.
>
> Este mensaje le ha llegado mediante el servicio de correo electronico que ofrece Infomed para respaldar el cumplimiento de las misiones del Sistema Nacional de Salud. La persona que envia este correo asume el compromiso de usar el servicio a tales fines y cumplir con las regulaciones establecidas
>
> Infomed: http://www.sld.cu/
>
>
>
> ------------------------------
>
> Message: 2
> Date: Wed, 24 Sep 2014 23:07:13 -0400
> From: "David T. Pierson" <dtp at mindstory.com>
> To: Matthias Felleisen <matthias at ccs.neu.edu>
> Cc: users at racket-lang.org
> Subject: Re: [racket] ranking items by their appearance in sets
> Message-ID: <1411613699.19584%dtp at mindstory.com>
> Content-Type: text/plain; charset=us-ascii
>
> On Wed, Sep 24, 2014 at 10:44:45AM -0400, Matthias Felleisen wrote:
>> Style: Here is my rewrite with style suggestions. I liked to have a
>> single point that tests all versions of a function when I conduct such
>> design experiments. I also want to have all my test code in the test
>> submodule so that it doesn't get deployed. That's why I am using a
>> syntactic abstraction that unfolds into a submodule rather than a
>> function that calls things.
>
> Thanks for the style suggestions. I am reminded I need to reread the
> style guide.
>
>> Performance: I have not checked their performance but I cannot imagine
>> the first version to be performant. See my annotations.
>
> Good point. I had put performance out of my mind because my real data
> is relatively small and I just wanted to play a bit with the methods,
> but I definitely appreciate the notes.
>
>> My choice: Your second version is what I would have written.
>
> Glad to know I was on the right track.
>
> Thank you.
>
> David
>
>
> ------------------------------
>
> Message: 3
> Date: Thu, 25 Sep 2014 11:47:57 +0530
> From: C K Kashyap <ckkashyap at gmail.com>
> To: users at racket-lang.org
> Subject: [racket] Switching from editor to repl
> Message-ID:
> <CAGdT1gqUp-0hdF15FYo2T_Qpm+qf9AkKMak_iLV9HTC4WkDrtQ at mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
> Hi,
> I am new to racket (but am really excited by the idea - everything is a
> program) - need a quick help with Dr Racket -
>
> What's the keyboard shortcut to switch between editor and repl?
>
> I got to know from a video on youtube that I could use C-e to toggle the
> repl visibility but not able to find out how to get to the rpl using the
> keyboard.
> Regards,
> Kashyap
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <http://lists.racket-lang.org/users/archive/attachments/20140925/39d4382b/attachment-0001.html>
>
> ------------------------------
>
> Message: 4
> Date: Thu, 25 Sep 2014 02:33:55 -0400
> From: Jay McCarthy <jay.mccarthy at gmail.com>
> To: C K Kashyap <ckkashyap at gmail.com>
> Cc: users <users at racket-lang.org>
> Subject: Re: [racket] Switching from editor to repl
> Message-ID:
> <CAJYbDamt+_RvG1utwzjJ1KW-m5ynRDxPr2xVivTOGQj8Y2R3DA at mail.gmail.com>
> Content-Type: text/plain; charset=UTF-8
>
> I use C-e and C-d to do this and I just hit it twice, once hides the
> side and the second shows it and focuses it.
>
> On Thu, Sep 25, 2014 at 2:17 AM, C K Kashyap <ckkashyap at gmail.com> wrote:
>> Hi,
>> I am new to racket (but am really excited by the idea - everything is a
>> program) - need a quick help with Dr Racket -
>>
>> What's the keyboard shortcut to switch between editor and repl?
>>
>> I got to know from a video on youtube that I could use C-e to toggle the
>> repl visibility but not able to find out how to get to the rpl using the
>> keyboard.
>> Regards,
>> Kashyap
>>
>> ____________________
>> Racket Users list:
>> http://lists.racket-lang.org/users
>>
>
>
>
> --
> Jay McCarthy
> http://jeapostrophe.github.io
>
> "Wherefore, be not weary in well-doing,
> for ye are laying the foundation of a great work.
> And out of small things proceedeth that which is great."
> - D&C 64:33
>
>
> ------------------------------
>
> Message: 5
> Date: Thu, 25 Sep 2014 13:13:58 +0530
> From: C K Kashyap <ckkashyap at gmail.com>
> To: Jay McCarthy <jay.mccarthy at gmail.com>
> Cc: users <users at racket-lang.org>
> Subject: Re: [racket] Switching from editor to repl
> Message-ID:
> <CAGdT1gqYYRz1Kk11U1==oUgP93ELFR0PFPsdG5v8C_tYjwqH=g at mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
> C-d works for me ... thanks Jay.
> I was wondering though if I could've found this out in the documentation
> somewhere. I could not find it in the guide/google.
>
> Regards,
> Kashyap
>
> On Thu, Sep 25, 2014 at 12:03 PM, Jay McCarthy <jay.mccarthy at gmail.com>
> wrote:
>
>> I use C-e and C-d to do this and I just hit it twice, once hides the
>> side and the second shows it and focuses it.
>>
>> On Thu, Sep 25, 2014 at 2:17 AM, C K Kashyap <ckkashyap at gmail.com> wrote:
>> > Hi,
>> > I am new to racket (but am really excited by the idea - everything is a
>> > program) - need a quick help with Dr Racket -
>> >
>> > What's the keyboard shortcut to switch between editor and repl?
>> >
>> > I got to know from a video on youtube that I could use C-e to toggle the
>> > repl visibility but not able to find out how to get to the rpl using the
>> > keyboard.
>> > Regards,
>> > Kashyap
>> >
>> > ____________________
>> > Racket Users list:
>> > http://lists.racket-lang.org/users
>> >
>>
>>
>>
>> --
>> Jay McCarthy
>> http://jeapostrophe.github.io
>>
>> "Wherefore, be not weary in well-doing,
>> for ye are laying the foundation of a great work.
>> And out of small things proceedeth that which is great."
>> - D&C 64:33
>>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <http://lists.racket-lang.org/users/archive/attachments/20140925/93aa6ef8/attachment-0001.html>
>
> ------------------------------
>
> Message: 6
> Date: Thu, 25 Sep 2014 07:56:53 -0500
> From: Robby Findler <robby at eecs.northwestern.edu>
> To: C K Kashyap <ckkashyap at gmail.com>
> Cc: Jay McCarthy <jay.mccarthy at gmail.com>, users
> <users at racket-lang.org>
> Subject: Re: [racket] Switching from editor to repl
> Message-ID:
> <CAL3TdONC6=U8EibFfxLYDNVVW0+SEo9+Do5ZuMSu2bLQRm8y8A at mail.gmail.com>
> Content-Type: text/plain; charset=UTF-8
>
> The guide focuses on the language, not the DrRacket IDE. This is a
> link to the IDE docs that has a list of keyboard shortcuts.
>
> You might also try looking at the menu items; things are a little more
> discoverable that way too.
>
> http://docs.racket-lang.org/drracket/Keyboard_Shortcuts.html
>
> hth,
> Robby
>
> On Thu, Sep 25, 2014 at 2:43 AM, C K Kashyap <ckkashyap at gmail.com> wrote:
>> C-d works for me ... thanks Jay.
>> I was wondering though if I could've found this out in the documentation
>> somewhere. I could not find it in the guide/google.
>>
>> Regards,
>> Kashyap
>>
>> On Thu, Sep 25, 2014 at 12:03 PM, Jay McCarthy <jay.mccarthy at gmail.com>
>> wrote:
>>>
>>> I use C-e and C-d to do this and I just hit it twice, once hides the
>>> side and the second shows it and focuses it.
>>>
>>> On Thu, Sep 25, 2014 at 2:17 AM, C K Kashyap <ckkashyap at gmail.com> wrote:
>>> > Hi,
>>> > I am new to racket (but am really excited by the idea - everything is a
>>> > program) - need a quick help with Dr Racket -
>>> >
>>> > What's the keyboard shortcut to switch between editor and repl?
>>> >
>>> > I got to know from a video on youtube that I could use C-e to toggle the
>>> > repl visibility but not able to find out how to get to the rpl using the
>>> > keyboard.
>>> > Regards,
>>> > Kashyap
>>> >
>>> > ____________________
>>> > Racket Users list:
>>> > http://lists.racket-lang.org/users
>>> >
>>>
>>>
>>>
>>> --
>>> Jay McCarthy
>>> http://jeapostrophe.github.io
>>>
>>> "Wherefore, be not weary in well-doing,
>>> for ye are laying the foundation of a great work.
>>> And out of small things proceedeth that which is great."
>>> - D&C 64:33
>>
>>
>>
>> ____________________
>> Racket Users list:
>> http://lists.racket-lang.org/users
>>
>
>
> End of users Digest, Vol 109, Issue 55
> **************************************