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

2018-11-05 Thread Glenn Hoetker
I'm afraid I don't have a suggestion, but a question. The code you provided makes sense to me and duplicates something I'd like, but I'm unsure how to enable it in DrRacket. May I ask how you did so? Thank you. Glen On Wednesday, September 12, 2018 at 6:11:12 PM UTC+10, Gregor Kopp wrote: >

Re: [racket-users] Hint on opening enclosing directory of current file from DrRacket

2017-06-28 Thread Glenn Hoetker
No apology needed. The pop-up menu is a great feature. Thank you very much. -- 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...@googlegroup

Re: [racket-users] Hint on opening enclosing directory of current file from DrRacket

2017-06-28 Thread Glenn Hoetker
Thanks for the quick comment. Unless I'm missing something (quite possible...nay, likely), the triangle in the upper left launches a File Open dialog at the requested location. That's cool and useful, but a bit different. The use case I had in mind was wanting access to the folder *in the Finder

[racket-users] Hint on opening enclosing directory of current file from DrRacket

2017-06-28 Thread Glenn Hoetker
I hope this isn't painfully obvious to everyone but me, but I'd found it really frustrating until I found a solution. So, I thought I'd share. (If that's not appropriate traffic for the mailing list, I'd appreciate a more veteran hand letting me know. I'm still observing the norms.) Issue: Whil

[racket-users] Re: Searching diffrences in two lists

2017-06-28 Thread Glenn Hoetker
If order doesn't matter and it would be okay for duplicates *within* a list to be deleted, you might make use of * Lists can be converted to sets, via list->set and back again * There are many set methods to yield unions, intersections and differences between sets. See https://docs.racket-lang.o

Re: [racket-users] Built-in way to list all children of a directory?

2017-06-27 Thread Glenn Hoetker
Struggling as a newbie with the documentation for find-files. In particular, the "predicate" part of (find-files predicate [ start-path] #:skip-filtered-directory? skip-filtered-directory? #:follow-links? fol

[racket-users] Built-in way to list all children of a directory?

2017-06-27 Thread Glenn Hoetker
Naive question, here. As far as I can tell, (directory-list some-path) yields a list of files and directories immediately below some-path. I wish to capture all files and directories in some-path or any of the sub-directories of some-path. I didn't find an obvious option for doing so. Before I

Re: [racket-users] Code critique (of naive code) would be very appreciated

2017-06-22 Thread Glenn Hoetker
Thank you, everyone!! I've gained some nice big picture lessons and appreciate the welcome to the community. -- 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 rac

[racket-users] Code critique (of naive code) would be very appreciated

2017-06-21 Thread Glenn Hoetker
With help from this group, I've written my first baby-program in Racket and would really appreciate any feedback on how to make it more idiomatic, efficient and well-formatted (I struggle with where to break lines). Thank you in advance. The purpose is to fix the irregular capitalization of ent

Re: [racket-users] Naive question on how to capitalize only the first word of a string

2017-06-19 Thread Glenn Hoetker
Wow. In addition to getting my question answered, I learned about 6 other things. Thank you so much, everyone! Glenn -- 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 ema

[racket-users] Naive question on how to capitalize only the first word of a string

2017-06-19 Thread Glenn Hoetker
I'm quite new to Racket/LISP, so I hope this isn't breathtakingly obvious. Can someone please tell me the best way to capitalize just the first word in a multiword string. So, given the string "it was a dark and stormy night", I would like to get "It was a dark and stormy night". I see functio