casmajavi has joined #racket
casmajavi has quit [Remote host closed the connection]
johnjaye has quit [Ping timeout: 272 seconds]
johnjaye has joined #racket
badkins has joined #racket
badkins has quit [Ping timeout: 256 seconds]
badkins has joined #racket
badkins has quit [Ping timeout: 240 seconds]
capfredf has joined #racket
badkins has joined #racket
cynomys has quit [Quit: Lost terminal]
capfredf has quit [Remote host closed the connection]
capfredf has joined #racket
badkins has quit [Ping timeout: 240 seconds]
capfredf has quit [Ping timeout: 256 seconds]
ur5us has quit [Ping timeout: 240 seconds]
notzmv has joined #racket
ur5us has joined #racket
capfredf has joined #racket
capfredf has quit [Ping timeout: 272 seconds]
ur5us has quit [Ping timeout: 240 seconds]
s-liao has quit [Quit: Client closed]
s-liao has joined #racket
badkins has joined #racket
badkins has quit [Ping timeout: 256 seconds]
monkey_ has quit [Ping timeout: 240 seconds]
monkey_ has joined #racket
t3nj1n has quit [Remote host closed the connection]
vats has joined #racket
ur5us has joined #racket
s-liao has quit [Quit: Client closed]
s-liao has joined #racket
s-liao has quit [Client Quit]
s-liao has joined #racket
s-liao has quit [Client Quit]
capfredf has joined #racket
capfredf has quit [Ping timeout: 240 seconds]
monkey_ has quit [Remote host closed the connection]
monkey_ has joined #racket
capfredf has joined #racket
capfredf has quit [Ping timeout: 256 seconds]
ur5us has quit [Ping timeout: 240 seconds]
s-liao has joined #racket
monkey_ has quit [Remote host closed the connection]
skapata has quit [Remote host closed the connection]
capfredf has joined #racket
capfredf has quit [Ping timeout: 240 seconds]
badkins has joined #racket
badkins has quit [Ping timeout: 240 seconds]
cynomys has joined #racket
tonyg has quit [Ping timeout: 240 seconds]
s-liao has quit [Ping timeout: 256 seconds]
tonyg has joined #racket
s-liao has joined #racket
vats has quit [Ping timeout: 240 seconds]
capfredf has joined #racket
capfredf has quit [Ping timeout: 256 seconds]
eriol has quit [Quit: Ping timeout (120 seconds)]
eriol has joined #racket
lwhjp has quit [Read error: Connection reset by peer]
TCZ has joined #racket
juanfra__ has joined #racket
s-liao has quit [Ping timeout: 256 seconds]
capfredf has joined #racket
xgqt has quit [Remote host closed the connection]
xgqt has joined #racket
lwhjp has joined #racket
epony has quit [Read error: Connection reset by peer]
TCZ has quit [Quit: Leaving]
capfredf has quit [Ping timeout: 240 seconds]
cynomys has quit [Ping timeout: 272 seconds]
wingo_ is now known as wingo
s-liao has joined #racket
s-liao has quit [Client Quit]
badkins has joined #racket
badkins has quit [Ping timeout: 256 seconds]
klf has joined #racket
<klf> HI
<bremner> morning (or tzag)
<klf> good morning bremner.
<klf> I am confused.
<klf> "Racket is a dynamically typed language, which means that type errors are not detected until the erroneous code is actually executed. " (https://www.classes.cs.uchicago.edu/archive/2014/fall/15100-1/guide.html)
<klf> > (sq "hi")
<klf> error_msg: *: expects a number as 1st argument, given "hi"
<bremner> sure, but you are executing the code, no?
<klf> (define (myfunc x) (display x))
<bremner> hmm? I'm not seeing the connection.
<klf> errr... forget the (sq "hi") example. (I will use another one)
<klf> I am preparing my question.
<klf> 1 sec.
<klf> > (+ "hi" 1)
<klf> Err_msg: +: contract violation
<klf> expected: number?
<klf> given: "hi"
<bremner> contracts are checked at runtime.
<bremner> In a repl, every time you hit return, you are running code.
<klf> the function that I defined "myfunc" does not contain a function signature/prototype (or in Racket parlance, a "contract")
<klf> while the function '+' does.
<klf> how do I specify a contract?
<klf> can you show me by providing me with an exxample?
<bremner> I don't really use contracts much, but see https://docs.racket-lang.org/guide/contracts.html
<klf> bremner, thank you
capfredf has joined #racket
capfredf has quit [Ping timeout: 272 seconds]
capfredf has joined #racket
capfredf has quit [Ping timeout: 256 seconds]
klf has quit [Quit: Leaving]
terrorjack has quit [Quit: Ping timeout (120 seconds)]
optimist has joined #racket
terrorjack has joined #racket
meinside has quit [Quit: Connection closed for inactivity]
optimist has quit [Remote host closed the connection]
optimist has joined #racket
capfredf has joined #racket
capfredf has quit [Ping timeout: 240 seconds]
s-liao has joined #racket
badkins has joined #racket
badkins has quit [Ping timeout: 240 seconds]
morte_ has joined #racket
casmajavi has joined #racket
rgherdt_ is now known as rgherdt
s-liao has quit [Ping timeout: 256 seconds]
badkins has joined #racket
johnjaye has quit [Ping timeout: 250 seconds]
johnjaye has joined #racket
capfredf has joined #racket
morte_ has quit [Ping timeout: 256 seconds]
optimist has quit [Remote host closed the connection]
toulene has joined #racket
notzmv has quit [Ping timeout: 252 seconds]
skapata has joined #racket
skapata has quit [Changing host]
skapata has joined #racket
toulene has quit [Quit: ZNC - https://znc.in]
badkins_ has joined #racket
badkins has quit [Ping timeout: 250 seconds]
badkins_ has quit [Remote host closed the connection]
evdubs has joined #racket
capfredf has quit [Remote host closed the connection]
capfredf has joined #racket
rgherdt has quit [Ping timeout: 240 seconds]
notzmv has joined #racket
badkins has joined #racket
badkins has quit [Ping timeout: 240 seconds]
skapata has quit [Remote host closed the connection]
t3nj1n has joined #racket
t3nj1n_ has joined #racket
t3nj1n_ has quit [Client Quit]
capfredf has quit [Remote host closed the connection]
capfredf has joined #racket
badkins has joined #racket
notzmv has quit [Ping timeout: 252 seconds]
ur5us has joined #racket
<veinoftls> hello
<bremner> o/
ur5us has quit [Ping timeout: 240 seconds]
simendsjo has joined #racket
haskal has quit [Quit: Terminal machine broke]
<winny> Happy Monday
simendsjo has quit [Ping timeout: 240 seconds]
capfredf has quit [Remote host closed the connection]
capfredf has joined #racket
notzmv has joined #racket
capfredf has quit [Ping timeout: 260 seconds]
ur5us has joined #racket
even4void has left #racket [#racket]
ur5us has quit [Quit: Leaving]
ur5us has joined #racket
rgherdt has joined #racket
capfredf has joined #racket
epony has joined #racket
TCZ has joined #racket
Vaelatern has quit [Ping timeout: 240 seconds]
capfredf has quit [Remote host closed the connection]
capfredf has joined #racket
Vaelatern has joined #racket
Vaelatern has quit [Changing host]
Vaelatern has joined #racket
capfredf has quit [Ping timeout: 256 seconds]
cwebber has quit [Read error: Connection reset by peer]
TCZ has quit [Quit: Leaving]
casmajavi has quit [Remote host closed the connection]
badkins has quit [Remote host closed the connection]
capfredf has joined #racket
capfredf has quit [Ping timeout: 240 seconds]
daemonises has joined #racket
ur5us has quit [Ping timeout: 240 seconds]
capfredf has joined #racket
capfredf has quit [Remote host closed the connection]
capfredf has joined #racket
badkins has joined #racket
capfredf has quit [Remote host closed the connection]
capfredf has joined #racket
capfredf has quit [Remote host closed the connection]
capfredf has joined #racket
capfredf has quit [Remote host closed the connection]
capfredf has joined #racket
capfredf has quit [Remote host closed the connection]
capfredf has joined #racket