[o__o] has quit [Remote host closed the connection]
sauvin_ has joined #racket
mceier_ has joined #racket
zenspider_ has joined #racket
[o__o] has joined #racket
[o__o] has quit [Read error: Connection reset by peer]
massimo_zaniboni has left #racket [#racket]
mzan has joined #racket
dented42 has quit [*.net *.split]
sauvin has quit [*.net *.split]
lavaflow has quit [*.net *.split]
audriu has quit [*.net *.split]
mfiano has quit [*.net *.split]
Bunogi has quit [*.net *.split]
ski has quit [*.net *.split]
mceier has quit [*.net *.split]
s455wang has quit [*.net *.split]
Oxyd has quit [*.net *.split]
jmiven has quit [*.net *.split]
zenspider has quit [*.net *.split]
ng0 has quit [*.net *.split]
[o__o] has joined #racket
s455wang has joined #racket
mfiano has joined #racket
jmiven has joined #racket
audriu has joined #racket
ng0 has joined #racket
Bunogi has joined #racket
sauvin_ is now known as Sauvin
pierpal has quit [Ping timeout: 252 seconds]
vraid has joined #racket
pierpal has joined #racket
selimcan has quit [Quit: Leaving]
ZombieChicken has quit [Ping timeout: 256 seconds]
mceier_ is now known as mceier
aeth has quit [Read error: Connection reset by peer]
aeth has joined #racket
pierpal has quit [Read error: Connection reset by peer]
pierpal has joined #racket
lavaflow_ has quit [Read error: No route to host]
pierpal has quit [Client Quit]
pierpal has joined #racket
dan_f has joined #racket
ziyourenxiang has quit [Ping timeout: 244 seconds]
lavaflow_ has joined #racket
pierpal has quit [Ping timeout: 245 seconds]
jao has joined #racket
jao has quit [Ping timeout: 246 seconds]
pie__ has quit [Ping timeout: 246 seconds]
frefity has quit [Quit: Ex-Chat]
orivej has joined #racket
pie_ has joined #racket
pie_ has quit [Remote host closed the connection]
pie_ has joined #racket
dented42_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
pierpal has joined #racket
pierpal has quit [Read error: Connection reset by peer]
pierpal has joined #racket
ski has joined #racket
pierpal has quit [Read error: Connection reset by peer]
ZombieChicken has joined #racket
dan_f has quit [Quit: dan_f]
Oxyd_ is now known as Oxyd
johnjay has quit [Ping timeout: 256 seconds]
iyzsong has joined #racket
iyzsong has quit [Ping timeout: 246 seconds]
acarrico has joined #racket
fridim has joined #racket
georges-duperon has joined #racket
pierpal has joined #racket
pierpal has quit [Ping timeout: 244 seconds]
pie__ has joined #racket
pie_ has quit [Ping timeout: 250 seconds]
iyzsong has joined #racket
ziyourenxiang has joined #racket
sleepnap has joined #racket
orivej has quit [Ping timeout: 272 seconds]
iyzsong has quit [Ping timeout: 252 seconds]
iyzsong has joined #racket
mzan has left #racket [#racket]
jao has joined #racket
orivej has joined #racket
YuGiOhJCJ has joined #racket
georges-duperon has quit [Ping timeout: 252 seconds]
iyzsong has quit [Ping timeout: 240 seconds]
georges-duperon has joined #racket
rnmhdn has joined #racket
YuGiOhJCJ has quit [Quit: YuGiOhJCJ]
georges-duperon has quit [Ping timeout: 246 seconds]
eddof13 has joined #racket
vraid has quit [Quit: Page closed]
pera has quit [Quit: leaving]
dented42 has joined #racket
dented42 has quit [Client Quit]
audriu has quit [Remote host closed the connection]
orivej has quit [Ping timeout: 246 seconds]
georges-duperon has joined #racket
dan_f has joined #racket
ziyourenxiang has quit [Ping timeout: 264 seconds]
georges-duperon has quit [Ping timeout: 252 seconds]
rand__ has joined #racket
pera has joined #racket
ZombieChicken has quit [Remote host closed the connection]
eddof13 has quit [Quit: eddof13]
mzan has joined #racket
Welkin has joined #racket
rnmhdn has quit [Ping timeout: 240 seconds]
eddof13 has joined #racket
rnmhdn has joined #racket
vraid has joined #racket
eddof13 has quit [Quit: eddof13]
rnmhdn has quit [Ping timeout: 264 seconds]
eddof13 has joined #racket
rnmhdn has joined #racket
orivej has joined #racket
eddof13 has quit [Quit: eddof13]
vraid has quit [Ping timeout: 256 seconds]
eddof13 has joined #racket
dented42 has joined #racket
pie__ has quit [Ping timeout: 272 seconds]
pera has quit [Ping timeout: 246 seconds]
rnmhdn has quit [Ping timeout: 252 seconds]
vraid has joined #racket
sleepnap has left #racket [#racket]
eddof13 has quit [Quit: eddof13]
rnmhdn has joined #racket
eddof13 has joined #racket
pie_ has joined #racket
pera has joined #racket
pie_ has quit [Remote host closed the connection]
dddddd has joined #racket
pie_ has joined #racket
soegaard has joined #racket
ubLIX has joined #racket
eddof13 has quit [Quit: eddof13]
kefin has joined #racket
<kefin>
how can i prevent implicitly printing stuff in the main module?
pie_ has quit [Ping timeout: 240 seconds]
<soegaard>
in DrRacket ?
<kefin>
no just invoking `racket filename`
<soegaard>
redefine #%module-begin
<bremner>
rudybot: eval (begin (+ 1 1) (void))
<rudybot>
bremner: Done.
<soegaard>
Maybe (require (rename-in racket/base [begin #%module-begin])) is enough? (untested)
<kefin>
bremner, I have module+ (f whatever) (exit) and it will print the results of f
<kefin>
module+ main, that is
<kefin>
I can do (void (f whatgever)) but it looks ugly and hacky
<bremner>
agreed
<bremner>
but, less scary than redefining #%module-begin ;)
<kefin>
soegaard, rename-in: identifier `#%module-begin' already in nested require spec
<soegaard>
hmm
<kefin>
isn't there a way to invoke racket as a non-top-level application?
<kefin>
or without a top-level kinda
<lexi-lambda>
I don’t think you can redefine/reimport #%module-begin and have it take effect within the current module, since #%module-begin is expanded before any definitions or requires.
<soegaard>
good point
<lexi-lambda>
In any case, I think the recommended thing to do really is to just wrap the relevant expressions in void.
<lexi-lambda>
#lang racket’s #%module-begin will always print non-#<void> results of top-level expressions.
<soegaard>
I suppose redirecting standard out to dev/null is cheating?
<kefin>
Yes, soegaard, other output may be useful
<kefin>
Just not the top level auto-printed stuff
<bremner>
I guess a question is why that function returns something if it's not interesting?
<kefin>
bremner, it's to make it extendable (return can be ignored or not), but i can also call it from the top level if i wanna start the program from that state
pie_ has joined #racket
pie__ has joined #racket
selimcan has joined #racket
pie_ has quit [Client Quit]
g00s has joined #racket
odanoburu has joined #racket
rand__ has quit [Ping timeout: 246 seconds]
<soegaard>
Is it possible to use a configure submodule to prevent printing?
<kefin>
Also can I require stuff relative to the PWD instead of the module's directory?
<lexi-lambda>
kefin: Interesting, that seems wrong. The automatic addition of .rkt only applies to explicit uses of `lib`. The corresponding section in the reference is more accurate: https://docs.racket-lang.org/reference/require.html#%28form._%28%28lib._racket%2Fprivate%2Fbase..rkt%29._require%29%29