badkins has quit [Remote host closed the connection]
badkins has joined #racket
badkins has quit [Ping timeout: 256 seconds]
TCZ has quit [Quit: Leaving]
jellie has quit [Quit: WeeChat 2.8]
YuGiOhJCJ has joined #racket
efm has quit [Read error: Connection reset by peer]
efm has joined #racket
sonata has joined #racket
nebunez has joined #racket
badkins has joined #racket
badkins has quit [Ping timeout: 264 seconds]
lavaflow has quit [Ping timeout: 246 seconds]
acarrico has joined #racket
lavaflow has joined #racket
YuGiOhJCJ has quit [Quit: YuGiOhJCJ]
acarrico has quit [Ping timeout: 240 seconds]
orivej has quit [Ping timeout: 264 seconds]
orivej_ has joined #racket
badkins has joined #racket
notzmv has quit [Ping timeout: 260 seconds]
badkins has quit [Ping timeout: 265 seconds]
Sgeo has joined #racket
<samth>
dzoe: what about two flonum variables?
libertyprime has joined #racket
nikita` has joined #racket
evdubs has quit [Ping timeout: 260 seconds]
badkins has joined #racket
evdubs has joined #racket
yonderboi has quit [Quit: leaving]
sonata has quit [Ping timeout: 256 seconds]
badkins has quit [Remote host closed the connection]
badkins has joined #racket
sonata has joined #racket
badkins has quit [Ping timeout: 260 seconds]
vraid has joined #racket
efm has quit [Remote host closed the connection]
efm has joined #racket
nikita` has quit [Quit: leaving]
notzmv has joined #racket
sonata has quit [Ping timeout: 256 seconds]
aaaaaa has joined #racket
<aaaaaa>
Hi all. How to convert non-boolean to boolean? I want (member...) to return just bool and using (not(not(member... but how can I do any better?
<vraid>
due to how scheme handles boolean logic (false vs not as opposed to false vs true), such values are usually not converted
<vraid>
you can use (if (member...) a b) just fine, but if you do need the boolean value i'd recommend making a function like (define (bool a) (not (not a))), or (define (bool a) (and a #t))
iyzsong has quit [Read error: Connection reset by peer]
iyzsong has joined #racket
tilpner_ has joined #racket
tilpner has quit [Ping timeout: 256 seconds]
tilpner_ has quit [Remote host closed the connection]
<aaaaaa>
vraid: OK, thanks
tilpner_ has joined #racket
sonata has joined #racket
badkins has joined #racket
TCZ has joined #racket
badkins has quit [Ping timeout: 272 seconds]
tilpner_ is now known as tilpner
badkins has joined #racket
badkins has quit [Ping timeout: 240 seconds]
badkins has joined #racket
orivej_ has quit [Ping timeout: 256 seconds]
sonata has quit [Quit: Leaving]
sonata has joined #racket
badkins has quit [Remote host closed the connection]
badkins has joined #racket
TCZ has quit [Quit: Leaving]
badkins has quit [Ping timeout: 265 seconds]
<sonata>
I think I don't understand the difference between hb-append, hbl-append, and htl-append.
badkins has joined #racket
<aaaaaa>
maybe dumb question. How to create a list of n #f elements? in Python I can do [0]*n
efm has quit [Read error: Connection reset by peer]
efm has joined #racket
badkins has quit [Remote host closed the connection]