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". > I used to have a module I would import via > "../some-relative-path/dbaccess.rkt", but I thought I would try > "~/.dbaccess.rkt" as a module path. It turned out a module path cannot > begin with "/", which happens with the expansion of "~" (it seems). > > This leads me to the more general question, what do other people do, what > is the convention when, say, they will have a GitHub repo with generally > public code, but some private files with, say, database-access codes that > are specific to a person's use of a package? > > 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. For more options, visit https://groups.google.com/d/optout.