morte_ has quit [Read error: Connection reset by peer]
s-liao has joined #racket
monkey_ has joined #racket
libertyprime has joined #racket
shicz2 has quit [Ping timeout: 240 seconds]
shicz2 has joined #racket
libertyprime has quit [Ping timeout: 240 seconds]
countvajhula has joined #racket
<countvajhula>
question: Racket files can contain multiple modules. Can single modules likewise be spread over multiple files?
<countvajhula>
e.g. if we require a module as `(require foo/bar)`, could this pull in definitions from two files foo/bar1.rkt and foo/bar2.rkt that each provide definitions within the module `foo/bar`?
s-liao has quit [Ping timeout: 256 seconds]
shicz2 has quit [Ping timeout: 256 seconds]
shicz2 has joined #racket
monkey_ has quit [Ping timeout: 240 seconds]
libertyprime has joined #racket
monkey_ has joined #racket
s-liao has joined #racket
capfredf has joined #racket
monkey_` has joined #racket
monkey_` has quit [Remote host closed the connection]
libertyprime has quit [Ping timeout: 256 seconds]
monkey_ has quit [Remote host closed the connection]
capfredf has quit [Remote host closed the connection]
capfredf has joined #racket
sts-q has joined #racket
monaaraj has joined #racket
mon_aaraj has quit [Read error: Connection reset by peer]
capfredf has quit [Ping timeout: 256 seconds]
monaaraj has quit [Ping timeout: 256 seconds]
monaaraj has joined #racket
monkey_ has quit [Ping timeout: 240 seconds]
skapata has quit [Remote host closed the connection]
s-liao has quit [Quit: Ping timeout (120 seconds)]
countvajhula has quit [Ping timeout: 240 seconds]
countvajhula has joined #racket
countvajhula has quit [Read error: Connection reset by peer]
countvajhula has joined #racket
Codaraxis_ has quit [Ping timeout: 256 seconds]
rgherdt has joined #racket
s-liao has joined #racket
capfredf has joined #racket
monaaraj has quit [Ping timeout: 256 seconds]
capfredf has quit [Ping timeout: 240 seconds]
monaaraj has joined #racket
<williewillus>
countvajhula: You'd have foo/bar.rkt, which imports symbols from bar1 and bar2, then re-provides those symbols itself
<williewillus>
so no, you can't really physically "spread" a module across files, but you can have a module reexport other symbols through itself
<williewillus>
a lot of libraries have "private/*.rkt" modules that are meant for the library's own use, and the nice pretty interface is exported through a top level module that reexports the private symbols
libertyprime has joined #racket
s-liao has quit [Ping timeout: 256 seconds]
<countvajhula>
thanks williewillus , that makes perfect sense. selectively requiring and providing bindings models the kind of "spread" I was talking about
libertyprime has quit [Ping timeout: 256 seconds]
Algernon69 has joined #racket
countvajhula has quit [Ping timeout: 240 seconds]
s-liao has joined #racket
s-liao has quit [Ping timeout: 256 seconds]
s-liao has joined #racket
s-liao has quit [Ping timeout: 256 seconds]
s-liao has joined #racket
yacodes has joined #racket
yacodes has quit [Client Quit]
capfredf has joined #racket
capfredf has quit [Ping timeout: 240 seconds]
s-liao has quit [Ping timeout: 256 seconds]
gproto23 has joined #racket
biog has joined #racket
unyu has quit [Quit: Reboot.]
capfredf has joined #racket
s-liao has joined #racket
Everything has joined #racket
unyu has joined #racket
monkey_ has joined #racket
s-liao has quit [Ping timeout: 256 seconds]
s-liao has joined #racket
Avichi has joined #racket
morte_ has joined #racket
s-liao has quit [Quit: Client closed]
monkey_ has quit [Remote host closed the connection]
skapata has joined #racket
skapata has quit [Changing host]
skapata has joined #racket
winny has quit [Ping timeout: 276 seconds]
winny has joined #racket
unyu has quit [Quit: brb]
unyu has joined #racket
Avichi has quit [Ping timeout: 256 seconds]
capfredf has quit [Remote host closed the connection]
capfredf has joined #racket
cwebber has quit [Ping timeout: 240 seconds]
Algernon91 has joined #racket
capfredf has quit [Remote host closed the connection]
Algernon69 has quit [Ping timeout: 252 seconds]
winny has quit [Ping timeout: 276 seconds]
winny has joined #racket
Algernon91 has quit [Ping timeout: 240 seconds]
to-hu has joined #racket
capfredf has joined #racket
capfredf has quit [Ping timeout: 256 seconds]
Algernon91 has joined #racket
notzmv has quit [Ping timeout: 268 seconds]
Algernon91 has quit [Ping timeout: 240 seconds]
to-hu has quit [Remote host closed the connection]
Everything has quit [Quit: leaving]
notzmv has joined #racket
ec has joined #racket
biog has quit [Quit: ZZZzzz…]
skapata has quit [Ping timeout: 240 seconds]
torbjornsd has joined #racket
biog has joined #racket
skapata has joined #racket
ec has quit [Ping timeout: 276 seconds]
capfredf has joined #racket
capfredf has quit [Ping timeout: 256 seconds]
Algernon69 has joined #racket
rgherdt has quit [Ping timeout: 268 seconds]
Algernon91 has joined #racket
Algernon69 has quit [Ping timeout: 240 seconds]
torbjornsd has quit [Quit: Leaving]
biog has quit [Quit: ZZZzzz…]
morte_ has quit [Remote host closed the connection]
biog has joined #racket
xgqt has quit [Ping timeout: 256 seconds]
xgqt has joined #racket
Algernon91 has quit [Read error: Network is unreachable]
capfredf has joined #racket
capfredf has quit [Remote host closed the connection]