Re: [racket-users] The search for routy

2019-06-14 Thread Gregor Kopp
Thank you very much!
It's hot here...

Am Freitag, 14. Juni 2019 08:58:53 UTC+2 schrieb Tom Gillespie:
>
> https://github.com/Junker/routy found via `racket routy git` seems right?
>
> On Thu, Jun 13, 2019 at 11:56 PM Gregor Kopp  > wrote:
>
>> Hi!
>> I found here docs: https://docs.racket-lang.org/routy/
>> I'd like to try this for fast prototyping, but can't find the package as 
>> my google-fu is sloppy I guess.
>> Any help please, sirs and madams?
>>
>> Thank you, Gregor
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Racket Users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to racket...@googlegroups.com .
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/racket-users/df56c1d0-7626-4284-bb77-089af462dacf%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/racket-users/df56c1d0-7626-4284-bb77-089af462dacf%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/racket-users/82c97a21-0ffd-4614-a805-96e810426a1e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[racket-users] The search for routy

2019-06-13 Thread Gregor Kopp
Hi!
I found here docs: https://docs.racket-lang.org/routy/
I'd like to try this for fast prototyping, but can't find the package as my 
google-fu is sloppy I guess.
Any help please, sirs and madams?

Thank you, Gregor

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/racket-users/df56c1d0-7626-4284-bb77-089af462dacf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[racket-users] Re: Complete Word (Ctrl+/)

2018-11-05 Thread Gregor Kopp
@Glenn Hoetker:

First, create a file with rkt ending with the following content:

#lang s-exp framework/keybinding-lang
(text:get-completions/manuals false)
(keybinding "c:TAB" (λ (editor event) (send editor auto-complete))) ; i 
changed this to control+tab, its more convenient for me.
(keybinding "c:l" (λ (editor event) (send editor insert "λ")))

then, in Dr. Racket in the Menu: Edit -> Keybindings you can add this file.

@Robby Findler:
Thank you!
(text:get-completions/manuals false)
in my keymap file did it.
Now it takes a little bit longer to start (those 2-3 seconds), but that is 
expected by me.

Thank you very very much!


Am Mittwoch, 12. September 2018 10:11:12 UTC+2 schrieb Gregor Kopp:
>
> Hi!
> I like DrRacket very much, because it's hassle-free.
> I like fast startup times, that's why I disabled all tools in the 
> preferences, because at the moment I don't use them.
> Further more, it's easier for me to map "Complete Word" to the tabulator 
> key. I do not use the emacs keybindings.
> I have in the preferences, tab "Editing", subtab "General Editing" "Enable 
> keybindings in menus" checked. It's more convenient for me.
>
> For that purpose I did a custom keybinding which I successfully enabled in 
> DrRacket:
>
> #lang s-exp framework/keybinding-lang
> (keybinding "TAB" (λ (editor event) (send editor auto-complete)))
> (keybinding "c:l" (λ (editor event) (send editor insert "λ")))
>
> That all works very well, DrRacket starts very fast, and editing is also 
> fast enough. The λ is also very helpful for me because I don't have an 
> english keyboard.
> There is only one thing I would like to change:
>
> If I invoke the auto-complete method, the first time I'm using it it takes 
> some time (2-3 seconds maybe?) until the complete suggestions are 
> appearing. After the first time using it its fast enough.
> I think it's loading on demand.
>
> Finally my question: Is there any way to tell DrRacket to load that 
> required data on startup?
>
> I know, why bother about it, but 2 seconds are 2 seconds.
>
> Thank you for your suggestions.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[racket-users] Complete Word (Ctrl+/)

2018-09-12 Thread Gregor Kopp
Hi!
I like DrRacket very much, because it's hassle-free.
I like fast startup times, that's why I disabled all tools in the 
preferences, because at the moment I don't use them.
Further more, it's easier for me to map "Complete Word" to the tabulator 
key. I do not use the emacs keybindings.
I have in the preferences, tab "Editing", subtab "General Editing" "Enable 
keybindings in menus" checked. It's more convenient for me.

For that purpose I did a custom keybinding which I successfully enabled in 
DrRacket:

#lang s-exp framework/keybinding-lang
(keybinding "TAB" (λ (editor event) (send editor auto-complete)))
(keybinding "c:l" (λ (editor event) (send editor insert "λ")))

That all works very well, DrRacket starts very fast, and editing is also 
fast enough. The λ is also very helpful for me because I don't have an 
english keyboard.
There is only one thing I would like to change:

If I invoke the auto-complete method, the first time I'm using it it takes 
some time (2-3 seconds maybe?) until the complete suggestions are 
appearing. After the first time using it its fast enough.
I think it's loading on demand.

Finally my question: Is there any way to tell DrRacket to load that 
required data on startup?

I know, why bother about it, but 2 seconds are 2 seconds.

Thank you for your suggestions.

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[racket-users] Not a rant at all!

2017-12-13 Thread Gregor Kopp
Hi!
I just wanted to say that the whole racket system (including dr. racket) is 
by far my most liked programming system I've ever tried.
I'm a hobby programmer and the glitchless ide combined with the very huge 
documentation makes me wonder why I'm not using it since ever ;)
Sometimes I'm in trouble to understand some concepts, but it gets better 
with every small project I'm doing.

Thank you for this awesome package!

Gregor

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [racket-users] Iterate over a list to construct a single string?

2016-10-13 Thread Gregor Kopp
Am Donnerstag, 13. Oktober 2016 17:19:51 UTC+2 schrieb David K. Storrs:
> David Christiansen's answer was very detailed and thorough, but I wanted to 
> add one more.  If I understand it, your goal is to take an arbitrary 
> (possibly nested) list of strings and concatenate all the strings.  This will 
> do that: ...

Hi David!

Thank you too for your helping!
I like the idea of having a helper to convert to strings, thats great! Also, I 
didn't know about flatten, thats really interesting!

Basically my problem description was only the endpoint of what I wanted to 
archieve.
I'm using Racket right now happily to search through a sqlite database for 
personal learning.
For this I'm using query-rows from db. This returns a list of vectors.
At first I printed the results with a function that takes the vectors and 
transformed them into a human readable information, because I knowed how to 
iterate over a list, transform vectors and how to use the repl.

With your, and the other David's (sorry, could not resist!) help I'm able to 
put that onto a webapp what I will try next - after I managed to memorize und 
truly understanding that concepts. With those naive approach (playing with 
data) I'm learning quite good how all fits together.

You two really helped me to understand how it's meant to be used!

Thank you!
Gregor

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [racket-users] Iterate over a list to construct a single string?

2016-10-13 Thread Gregor Kopp
Am Donnerstag, 13. Oktober 2016 14:38:14 UTC+2 schrieb David Christiansen:
> Hi Gregor,
> 
> > Now my very first question ;)
> >
> > If I have a list of string's, how can i recursivly iterate over that list 
> > and compose a single string out of the elements of that list?
>  >
>  > ...

Hi David, I'd like to thank you very much for your detailed explanations! I 
will work through all these options you've written!

Thank you!

Gregor

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[racket-users] Iterate over a list to construct a single string?

2016-10-13 Thread Gregor Kopp
Hi!

I'm very new to Racket and the lisp family generally, and very slowly starting 
to get an idea how everything works together.

Now my very first question ;)

If I have a list of string's, how can i recursivly iterate over that list and 
compose a single string out of the elements of that list?

I prepared a simple example, so hopefully you can understand what I'm talking 
about:

(define mylist '("hello" "darkness" "my" "old" "fiend"))

(for-each (lambda (elem)
   (displayln elem)
   )
 mylist)

It prints out every element of mylist as I expect in a new line.
But what if I want to collect all strings into one single string, so that I can 
 get "hellodarknessmyoldfriend"?

I think I can use string-append, right?
But how could I do that? Is there a idiomatic way to do that in Racket?

Thank you very much for every input.

Gregor

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.