<aaaaaa>
Hi all. What is the type that (string-append ...) takes? A list of strings, but how?
<aaaaaa>
Does string-append enumerates all its arguments somehow?
<countvajhula>
aaaaaa: string-append does not accept a list of strings. if it did, it would accept a single argument which would be a list (of strings)
<countvajhula>
rather, it accepts multiple arguments, each of which must be a string
<countvajhula>
this is called a "variadic function" in Racket
<aaaaaa>
countvajhula: OIC, thanks
<aaaaaa>
so when I do (define (vfun . xs), I can process xs like a list?
catonano has quit [Ping timeout: 258 seconds]
<countvajhula>
yep, the xs there is called the "rest" argument, and it is available inside vfun as a list
<aaaaaa>
countvajhula: thanks
Steeve has quit [Quit: end]
TCZ has quit [Quit: Leaving]
rj has quit [Ping timeout: 264 seconds]
rj has joined #racket
selimcan has joined #racket
rj has quit [Quit: WeeChat 2.5]
mirrorbird has joined #racket
orivej has quit [Ping timeout: 256 seconds]
TCZ has joined #racket
jmiven has quit [Quit: bye]
jmiven has joined #racket
TCZ has quit [Quit: Leaving]
orivej has joined #racket
endobson has joined #racket
orivej has quit [Remote host closed the connection]
sagax has quit [Quit: Konversation terminated!]
orivej has joined #racket
orivej has quit [Ping timeout: 256 seconds]
orivej has joined #racket
aaaaaa has quit [Quit: leaving]
orivej has quit [Read error: Connection reset by peer]
orivej has joined #racket
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #racket
selimcan has quit [Remote host closed the connection]
acarrico has quit [Ping timeout: 260 seconds]
orivej has quit [Ping timeout: 260 seconds]
sm2n has quit [Ping timeout: 258 seconds]
endformationage has quit [Quit: WeeChat 2.9]
sm2n has joined #racket
m455 has quit [Quit: WeeChat 2.3]
notzmv has quit [Ping timeout: 260 seconds]
notzmv has joined #racket
notzmv has quit [Ping timeout: 258 seconds]
notzmv has joined #racket
narimiran has joined #racket
bocaneri has joined #racket
notzmv has quit [Ping timeout: 264 seconds]
bocaneri has quit [Max SendQ exceeded]
bocaneri has joined #racket
tilpner_ has joined #racket
tilpner has quit [Remote host closed the connection]
tilpner_ is now known as tilpner
fredmanglis has joined #racket
catonano has joined #racket
Sgeo has quit [Read error: Connection reset by peer]
endobson has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
catonano has quit [Quit: catonano]
countvajhula has quit [Ping timeout: 260 seconds]
countvajhula has joined #racket
mirrorbird has quit [Ping timeout: 272 seconds]
countvajhula has quit [Ping timeout: 240 seconds]
fredmanglis has quit [Ping timeout: 256 seconds]
fredmanglis has joined #racket
orivej has joined #racket
yurb has quit [Quit: killed]
BitPuffin has quit [Quit: killed]
peddie has quit [Quit: killed]
Fernando-Basso[m has quit [Quit: killed]
peddie has joined #racket
sagax has joined #racket
davidl has quit [Ping timeout: 240 seconds]
yurb has joined #racket
BitPuffin has joined #racket
TCZ has joined #racket
countvajhula has joined #racket
countvajhula has quit [Ping timeout: 260 seconds]
TCZ has quit [Ping timeout: 240 seconds]
TCZ has joined #racket
davidl has joined #racket
srandon111 has joined #racket
davidl has quit [Read error: Connection reset by peer]
davidl_ has joined #racket
mirrorbird has joined #racket
countvajhula has joined #racket
countvajhula has quit [Ping timeout: 244 seconds]
vejetaryenvampir has quit [Ping timeout: 260 seconds]
acarrico has joined #racket
zenspider has quit [Ping timeout: 260 seconds]
zenspider has joined #racket
countvajhula has joined #racket
vejetaryenvampir has joined #racket
countvajhula has quit [Ping timeout: 260 seconds]
dmiles has joined #racket
TCZ has quit [Quit: Leaving]
epony has quit [Quit: reconf]
TCZ has joined #racket
m455 has joined #racket
epony has joined #racket
epony has quit [Max SendQ exceeded]
epony has joined #racket
countvajhula has joined #racket
countvajhula has quit [Ping timeout: 246 seconds]
m455 has quit [Quit: WeeChat 2.3]
epony has quit [Quit: QUIT]
m455 has joined #racket
m455 has quit [Client Quit]
m455 has joined #racket
Sgeo has joined #racket
epony has joined #racket
mirrorbird has quit [Ping timeout: 264 seconds]
countvajhula has joined #racket
countvajhula has quit [Ping timeout: 272 seconds]
bitmapper has quit [Quit: Connection closed for inactivity]
Lowl3v3l has quit [Quit: Leaving.]
FreeFull has joined #racket
countvajhula has joined #racket
countvajhula has quit [Remote host closed the connection]
countvajhula has joined #racket
endobson has joined #racket
countvajhula has quit [Ping timeout: 246 seconds]
countvajhula has joined #racket
rx862 has joined #racket
rx862 has quit [Quit: Konversation terminated!]
TCZ has quit [Quit: Leaving]
countvajhula has quit [Remote host closed the connection]
bocaneri has quit [Remote host closed the connection]
rj_ has quit [Ping timeout: 246 seconds]
rj_ has joined #racket
TCZ has joined #racket
rj_ has quit [Ping timeout: 264 seconds]
rj_ has joined #racket
MetaHertz has quit [Remote host closed the connection]
orivej has joined #racket
rj_ has quit [Ping timeout: 265 seconds]
rj_ has joined #racket
rj_ has quit [Ping timeout: 258 seconds]
rj_ has joined #racket
pritambaral has joined #racket
narimiran has quit [Ping timeout: 258 seconds]
rj_ has quit [Ping timeout: 272 seconds]
rj_ has joined #racket
selimcan has joined #racket
rj_ has quit [Ping timeout: 265 seconds]
rj_ has joined #racket
MetaHertz has joined #racket
rj_ has quit [Ping timeout: 272 seconds]
rj_ has joined #racket
TCZ has quit [Quit: Leaving]
countvajhula has quit [Ping timeout: 260 seconds]
rj_ has quit [Ping timeout: 264 seconds]
aaaaaa has quit [Quit: leaving]
rj_ has joined #racket
catonano has joined #racket
countvajhula has joined #racket
cantstanya has joined #racket
countvajhula has quit [Remote host closed the connection]
countvajhula has joined #racket
TCZ has joined #racket
rj_ has quit [Ping timeout: 265 seconds]
rj_ has joined #racket
phillbush has quit [Ping timeout: 260 seconds]
phillbush has joined #racket
FreeFull has quit []
notzmv has joined #racket
sagax has quit [Ping timeout: 244 seconds]
rj_ has quit [Ping timeout: 272 seconds]
quipa has joined #racket
selimcan has quit [Ping timeout: 260 seconds]
rj_ has joined #racket
selimcan has joined #racket
<Fernando-Basso>
https://htdp.org/2020-8-1/Book/part_one.html#%28counter._%28exercise._cond3%29%29 “What is the most appropriate initial state? Ask your engineering friends.” I am finding it hard to follow without having somewhere to look afterwards and get an ideia if I got even close to something descent.