William, that's a neat idea, I'll try your package. Thanks! --Geoff
--
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.
Recent discussion thread:
https://groups.google.com/forum/#!topic/racket-users/6hn9J-r0Nek
Since we're discussing dotfiles and I missed the previous thread, I'm
going to shamelessly promote my basedir package[1], which provides
functions for conveniently reading/writing config files according
Awesome, Neil, great 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
For a "home directory dotfile" kind of preferences file that's arbitrary
Racket code, I'd do `dynamic-require` instead of `require`.
If you want to use `require` instead, maybe the application is a
framework, and the user-specific `.rkt` file is the program that is run
and is what `require`s
The following seems to work for me:
(require (file "~/.dbaccess.rkt"))
Is that normal / ok ? Just wondering what other people do.
Geoff
On Thursday, November 2, 2017 at 12:35:25 PM UTC-4, Geoffrey Knauth wrote:
>
> Let's suppose I want to have a preferences file, e.g., "~/.dbaccess.rkt".
5 matches
Mail list logo