lockywolf has quit [Remote host closed the connection]
badkins has joined #racket
jao has quit [Remote host closed the connection]
jao has joined #racket
jao has quit [Remote host closed the connection]
liberiga has joined #racket
jao has joined #racket
jao has quit [Remote host closed the connection]
ephemera_ has joined #racket
q9929t has joined #racket
endobson has joined #racket
endobson has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
endobson has joined #racket
endobson has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
endobson has joined #racket
libertyprime has quit [Ping timeout: 246 seconds]
dddddd has quit [Remote host closed the connection]
Sgeo_ has joined #racket
Sgeo__ has quit [Ping timeout: 268 seconds]
ZombieChicken has quit [Ping timeout: 268 seconds]
Sgeo__ has joined #racket
Sgeo_ has quit [Ping timeout: 246 seconds]
FreeFull has quit []
endformationage has quit [Ping timeout: 258 seconds]
orivej has joined #racket
endobson has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
endobson has joined #racket
_whitelogger has joined #racket
_whitelogger has joined #racket
sauvin has joined #racket
endobson has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
liberiga has quit [Ping timeout: 260 seconds]
manualcrank has quit [Quit: WeeChat 1.9.1]
ng0 has joined #racket
asymptotically has joined #racket
libertyprime has joined #racket
libertyprime has quit [Quit: leaving]
orivej has quit [Ping timeout: 246 seconds]
orivej has joined #racket
orivej has quit [Ping timeout: 245 seconds]
orivej has joined #racket
dddddd has joined #racket
iyzsong has joined #racket
sagax has joined #racket
<winny>
Say I have a few structs, s1, s2, s3 and I have another struct that has a member that is a list of either s1, s2, or s3. Can I specify this constraint in typed racket?
<winny>
I am thinking I may have to do (U (Listof s1) (Listof s2) (Listof s3)) - is there a better way to specify this?
vraid has joined #racket
endformationage has joined #racket
pierreimmo has joined #racket
<pierreimmo>
Hi all
<pierreimmo>
I'm happily discovering the OcapPub/Spritely is done in Racket
<pierreimmo>
I wanted to try an example in the goblin package
<pierreimmo>
isn't there one command to bring all dependencies of a program?
<pierreimmo>
I had to do several `raco pkg install` with each missing dependency…
<winny>
you should be able to do `raco pkg install --auto --link' in the directory with an info.rkt, followed by a raco make when you edit things, but i'm not seeing an info.rkt for the example, so you'll probably have to install each dep by hand :/
<winny>
raco pkg install --auto lux raart # and goblins if you want to install it from pkgs.racket-lang.org instead of from git
efm has joined #racket
orivej has quit [Quit: No Ping reply in 180 seconds.]
q9929t has quit [Remote host closed the connection]
q9929t has joined #racket
orivej has joined #racket
iclon__ has quit [Remote host closed the connection]
iclon has joined #racket
Sgeo__ has quit [Read error: Connection reset by peer]
Sgeo__ has joined #racket
dustyweb has joined #racket
<dzoe>
SIGSEGV MAPERR si_code 1 fault on addr (nil)
<dzoe>
Aborted (core dumped)
<dzoe>
I assume this is not going to be an easy thing to debug ...
<dzoe>
A racket/gui application that does some heavy computation (combinatorics, sorting, numerical optimization) and sometimes it crashes like this.
<dzoe>
I was suspecting racket/unsafe/ops unsafe-fx... to be the source, but these do not crash racket.
<dzoe>
(unsafe-fx+ #t 1) just produces nonsense as it interprets the given 64bit value as fixnum.
dustyweb has quit [Remote host closed the connection]
dustyweb has joined #racket
jao has joined #racket
<dzoe>
Ok, it seems that sometimes fxvector-ref does not sanitize indexes and breaks when it is negative.
<dzoe>
But I cannot reproduce it on small scale.
orivej has quit [Ping timeout: 244 seconds]
nullman has quit [Ping timeout: 244 seconds]
travishinkelman has joined #racket
travishinkelman has quit [Client Quit]
nullman has joined #racket
manualcrank has joined #racket
<dzoe>
Ok, my bad.
<dzoe>
fxvector-ref is also available as racket/unsafe/ops and then it explodes with negative index
endobson has joined #racket
travishinkelman has joined #racket
vraid has quit [Quit: Leaving]
vraid has joined #racket
pera has joined #racket
casaca has quit [Ping timeout: 252 seconds]
casaca has joined #racket
casaca has quit [Ping timeout: 248 seconds]
casaca has joined #racket
FreeFull has joined #racket
casaca has quit [Ping timeout: 272 seconds]
casaca has joined #racket
casaca has quit [Ping timeout: 248 seconds]
casaca has joined #racket
casaca has quit [Ping timeout: 272 seconds]
casaca has joined #racket
casaca has quit [Ping timeout: 268 seconds]
casaca has joined #racket
casaca has quit [Ping timeout: 245 seconds]
casaca has joined #racket
casaca has quit [Ping timeout: 248 seconds]
ziyourenxiang has quit [Ping timeout: 246 seconds]
casaca has joined #racket
dvdmuckle has quit [Quit: Bouncer Surgery]
dvdmuckle has joined #racket
orivej has joined #racket
casaca has quit [Ping timeout: 258 seconds]
efm has quit [Read error: Connection reset by peer]
casaca has joined #racket
efm has joined #racket
selimcan has joined #racket
casaca has quit [Ping timeout: 268 seconds]
casaca has joined #racket
sauvin has quit [Read error: Connection reset by peer]
<dzoe>
There is no calendar picker component for racket?
<dzoe>
(racket/gui)
englishm has quit [Excess Flood]
englishm has joined #racket
jao has quit [Ping timeout: 245 seconds]
endobson has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
casaca has quit [Ping timeout: 268 seconds]
pera has quit [Ping timeout: 268 seconds]
casaca has joined #racket
efm has quit [Read error: Connection reset by peer]
pera has joined #racket
efm has joined #racket
ubLIX has joined #racket
casaca has quit [Ping timeout: 248 seconds]
casaca has joined #racket
jao has joined #racket
efm has quit [Quit: Konversation terminated!]
casaca has quit [Ping timeout: 248 seconds]
casaca has joined #racket
casaca has quit [Ping timeout: 268 seconds]
casaca has joined #racket
<selimcan>
I want let the lead devs know that I'm ready to play the role of a scapegoat if racket2 won't turn out to be a success
<selimcan>
for the sake of racket :P
travishinkelman has quit [Quit: travishinkelman]
mSSM has quit [Ping timeout: 246 seconds]
travishinkelman has joined #racket
pera has quit [Ping timeout: 246 seconds]
Nomenclatura has joined #racket
pera has joined #racket
casaca has quit [Ping timeout: 248 seconds]
dddddd has quit [Remote host closed the connection]
casaca has joined #racket
casaca has quit [Ping timeout: 246 seconds]
casaca has joined #racket
nullman has quit [Ping timeout: 248 seconds]
zipper has joined #racket
ng0 has quit [Quit: Alexa, when is the end of world?]
nullman has joined #racket
<gluon>
what's a good way to execute multiple expressions when an if condition is true or false? i'm currently using a lambda to enclose them, but maybe there's a better way?
<gluon>
i mean, instead of evaluating only one expression if true or false, like if expects
<gluon>
ahh, i see that begin's purpose is precisely to sequence expressions as is often needed when there are side effects
<aeth>
It's usually unnecessary, though. if is probably the most common case where it's needed
selimcan has quit [Quit: Leaving]
<gluon>
yeah, it's not necessary inside a procedure, hence why i was hacking it up inside a lambda
<gluon>
but begin is more idiomatic
<aeth>
definitely more idiomatic
<travishinkelman>
I thought that one of the advantages of cond over if is that it allowed for multiple expressions. Sort of an implicit begin. Am I remembering that incorrectly?
<bremner>
travishinkelman: it depends on the #lang. iirc that is true in #lang racket
<bremner>
but maybe not in some teaching languages
* bremner
reads the docs, only a little too late
ziyourenxiang has joined #racket
<bremner>
yeah, "The then-bodys are evaluated in order, and the results from all but the last then-body are ignored. "