lockywolf has quit [Read error: Connection reset by peer]
orivej has joined #racket
notzmv has joined #racket
davidl_ has quit [Ping timeout: 265 seconds]
jsomedon has joined #racket
jsomedon has quit [Client Quit]
jsomedon has joined #racket
jsomedon has quit [Client Quit]
jsomedon has joined #racket
davidl_ has joined #racket
travishinkelman has joined #racket
iyzsong has quit [Read error: Connection reset by peer]
iyzsong has joined #racket
endformationage has joined #racket
libertyprime has quit [Ping timeout: 265 seconds]
defaultxr has quit [Ping timeout: 265 seconds]
libertyprime has joined #racket
libertyprime has quit [Read error: Connection reset by peer]
aidalgol has joined #racket
travishinkelman has quit [Quit: travishinkelman]
sauvin has joined #racket
_whitelogger has joined #racket
_whitelogger has joined #racket
evdubs has quit [Remote host closed the connection]
evdubs has joined #racket
manualcrank has quit [Quit: WeeChat 1.9.1]
dddddd has quit [Remote host closed the connection]
ZombieChicken has quit [Quit: WeeChat 2.6]
endformationage has quit [Ping timeout: 240 seconds]
FreeFull has joined #racket
mzan has joined #racket
pinicarus has joined #racket
<pinicarus>
hi racketeers
<pinicarus>
if you have some public modules in a collection, is it possible to share some common code between them without making it also available for users (require)?
<pinicarus>
I didn't find in the documentation if this is possible so I suspect it cannot apart from some nomenclature (like naming the common module "private" or "internal" or such)
Sgeo_ has joined #racket
Sgeo has quit [Ping timeout: 276 seconds]
<erkin>
pinicarus: The convention is putting your private files in a separate directory called private, and then requiring them directly.
<erkin>
eg foo/bar.rkt contains (require "private/baz.rkt") to reach foo/private/baz.rkt, whereas the user does (require foo/bar) to reach the public code.
pinicarus has quit [Remote host closed the connection]
Fernando-Basso has joined #racket
aidalgol has quit [Remote host closed the connection]
Fernando-Basso has quit [Remote host closed the connection]
Fernando-Basso has joined #racket
lockywolf has joined #racket
cartwright has quit [Remote host closed the connection]
cartwright has joined #racket
mzan has quit [Quit: Leaving]
orivej has quit [Ping timeout: 240 seconds]
_whitelogger has joined #racket
cartwright has quit [Remote host closed the connection]
cartwright has joined #racket
keep_learning has quit [Remote host closed the connection]
acarrico has quit [Ping timeout: 245 seconds]
ng0 has joined #racket
tilpner has quit [Remote host closed the connection]
tilpner has joined #racket
Fernando-Basso has quit [Ping timeout: 240 seconds]
jsomedon has quit [Ping timeout: 276 seconds]
orivej has joined #racket
Sgeo_ has quit [Ping timeout: 240 seconds]
pinicarus has joined #racket
<pinicarus>
erkin: OK, thx
<erkin>
You can check existing packages (eg /usr/share/racket/pkgs) to get an idea of how they're structured.
_whitelogger has joined #racket
lockywolf has quit [Ping timeout: 250 seconds]
ng0 has quit [Quit: Alexa, when is the end of world?]
manualcrank has joined #racket
Sgeo has joined #racket
libertyprime has joined #racket
libertyprime has quit [Client Quit]
orivej has quit [Ping timeout: 240 seconds]
Sgeo has quit [Ping timeout: 268 seconds]
Sgeo has joined #racket
endformationage has joined #racket
casaca has quit [Ping timeout: 268 seconds]
casaca has joined #racket
casaca has quit [Ping timeout: 240 seconds]
casaca has joined #racket
acarrico has joined #racket
casaca has quit [Ping timeout: 268 seconds]
casaca has joined #racket
Sgeo_ has joined #racket
casaca has quit [Ping timeout: 240 seconds]
Sgeo has quit [Ping timeout: 240 seconds]
casaca has joined #racket
iyzsong has quit [Ping timeout: 246 seconds]
orivej has joined #racket
defaultxr has joined #racket
ziyourenxiang_ has quit [Ping timeout: 252 seconds]
travishinkelman has joined #racket
travishinkelman has quit [Client Quit]
ubLIX has joined #racket
efm has joined #racket
tilpner has quit [Quit: tilpner]
ZombieChicken has joined #racket
tilpner has joined #racket
<samth>
pinicarus: you cannot actually prevent users from requiring private modules, but otherwise erkin's advice is right
<pinicarus>
fair enough, if a user purposely require a module with a private segment in its path then he knows what to expect
pera has joined #racket
pinicarus has quit [Quit: Leaving]
Fernando-Basso has joined #racket
vraid has joined #racket
ubLIX has quit [Quit: ubLIX]
jsomedon has joined #racket
orivej has quit [Ping timeout: 240 seconds]
efm has quit [Remote host closed the connection]
efm has joined #racket
ziyourenxiang_ has joined #racket
Fernando-Basso has quit [Remote host closed the connection]
efm has quit [Read error: Connection reset by peer]