badkins has quit [Remote host closed the connection]
louis771 has quit [Quit: My M1 has gone to sleep. ZZZzzz…]
badkins has joined #racket
badkins has quit [Ping timeout: 240 seconds]
badkins has joined #racket
haskal has quit [Ping timeout: 244 seconds]
rgherdt has quit [Ping timeout: 272 seconds]
orivej has joined #racket
haskal has joined #racket
ermo has quit [Ping timeout: 264 seconds]
aquijoule__ has joined #racket
aquijoule_ has quit [Ping timeout: 264 seconds]
mario-goulart has quit [Remote host closed the connection]
sm2n has quit [Remote host closed the connection]
sm2n has joined #racket
sm2n has quit [Ping timeout: 240 seconds]
ozzloy has joined #racket
<ozzloy>
test
landakram has quit [Ping timeout: 260 seconds]
<ozzloy>
is there a "typeof" that tells me the type of the value in a variable?
sz0_ has joined #racket
yurb has quit [*.net *.split]
sz0 has quit [*.net *.split]
sz0_ is now known as sz0
yurb has joined #racket
dbmikus has quit [Ping timeout: 276 seconds]
badkins has quit [Remote host closed the connection]
badkins has joined #racket
sm2n has joined #racket
badkins has quit [Ping timeout: 264 seconds]
sm2n has quit [Remote host closed the connection]
sm2n has joined #racket
notzmv has joined #racket
sm2n has quit [Read error: Connection reset by peer]
sm2n has joined #racket
danderson has quit [Remote host closed the connection]
danderson has joined #racket
ermo has joined #racket
dbmikus has joined #racket
orivej has quit [Ping timeout: 240 seconds]
sm2n has quit [Ping timeout: 260 seconds]
sm2n has joined #racket
orivej has joined #racket
sm2n has quit [Ping timeout: 246 seconds]
sm2n has joined #racket
caente has quit [Ping timeout: 272 seconds]
aeth has quit [Ping timeout: 245 seconds]
aeth has joined #racket
dbmikus has quit [Ping timeout: 276 seconds]
<BitPuffin>
<ozzloy "is there a "typeof" that tells m"> Not that I know. I think you can only check if a value is if a certain type. It's a better way for real code but I guess for introspection having a type-of function would be nice
badkins has joined #racket
dbmikus has joined #racket
<ozzloy>
i'm tutoring someone on their homework
<ozzloy>
one of the problems is to take a list of things like this '(1 2.0 3/4) and return a list like this '(integer flonum rational)
<ozzloy>
we wrote our own type-of that just has a cond with integer? flonum? etc.
<BitPuffin>
Yeah I think that would probably be the way
<BitPuffin>
Although you might want contracts to deal with invalid inputs
badkins has quit [Ping timeout: 265 seconds]
dbmikus has quit [Ping timeout: 240 seconds]
endformationage has quit [Quit: WeeChat 2.9]
<ozzloy>
good idea. i don't think the class covers contracts
<ozzloy>
but we definitely see their results in the errors we get
<BitPuffin>
I guess a more easier to understand option would be to error on the else branch in cond
<BitPuffin>
If the student can't use contracts
<BitPuffin>
But maybe they get bonus points if they do :)
sz0 has quit [Quit: Connection closed for inactivity]
<ozzloy>
we just did 'UNKNOWN
<ozzloy>
not sure what the teacher wanted. maybe the student will get back to me about it
d1rges has joined #racket
d1rges has quit [Quit: Leaving]
narimiran has joined #racket
_whitelogger has joined #racket
dbmikus has joined #racket
orivej has quit [Ping timeout: 260 seconds]
dbmikus has quit [Ping timeout: 264 seconds]
sm2n has quit [Ping timeout: 256 seconds]
sm2n has joined #racket
sm2n_ has joined #racket
badkins has joined #racket
sm2n has quit [Ping timeout: 265 seconds]
sm2n has joined #racket
badkins has quit [Ping timeout: 245 seconds]
sm2n_ has quit [Ping timeout: 260 seconds]
landakram has joined #racket
rgherdt has joined #racket
YuGiOhJCJ has joined #racket
dbmikus has joined #racket
dbmikus has quit [Ping timeout: 256 seconds]
louis771 has joined #racket
teardown has quit [Remote host closed the connection]
teardown has joined #racket
sm2n has quit [Read error: Connection reset by peer]
sm2n has joined #racket
bitmapper has quit [Quit: Connection closed for inactivity]
orivej has joined #racket
badkins has joined #racket
Sgeo has quit [Read error: Connection reset by peer]
badkins has quit [Ping timeout: 256 seconds]
orivej has quit [Ping timeout: 256 seconds]
sm2n has quit [Ping timeout: 265 seconds]
sm2n has joined #racket
sm2n has quit [Ping timeout: 265 seconds]
sm2n has joined #racket
sm2n_ has joined #racket
sm2n has quit [Read error: Connection reset by peer]
sm2n has joined #racket
sm2n_ has quit [Ping timeout: 256 seconds]
sm2n has quit [Ping timeout: 260 seconds]
YuGiOhJCJ has quit [Ping timeout: 268 seconds]
YuGiOhJCJ has joined #racket
sz0 has joined #racket
YuGiOhJCJ has quit [Remote host closed the connection]
YuGiOhJCJ has joined #racket
YuGiOhJCJ has quit [Quit: YuGiOhJCJ]
badkins has joined #racket
badkins has quit [Ping timeout: 260 seconds]
orivej has joined #racket
tilpner has joined #racket
orivej_ has joined #racket
orivej has quit [Ping timeout: 245 seconds]
orivej_ has quit [Read error: Connection reset by peer]
orivej has joined #racket
badkins has joined #racket
badkins has quit [Ping timeout: 240 seconds]
badkins has joined #racket
badkins has quit [Ping timeout: 245 seconds]
orivej has quit [Ping timeout: 256 seconds]
orivej_ has joined #racket
orivej_ has quit [Ping timeout: 256 seconds]
bitmapper has joined #racket
orivej has joined #racket
caente has joined #racket
Sgeo has joined #racket
nshp has joined #racket
ephemera_ has quit [Quit: ephemera_]
badkins has joined #racket
sm2n has joined #racket
true-grue has joined #racket
orivej has quit [Ping timeout: 246 seconds]
sagax has joined #racket
badkins has quit [Remote host closed the connection]
dvdmuckle has quit [Remote host closed the connection]
dvdmuckle has joined #racket
badkins has joined #racket
landakram has quit [*.net *.split]
epony has quit [*.net *.split]
zenspider has quit [*.net *.split]
nisstyre has quit [*.net *.split]
gabot has quit [*.net *.split]
notzmv has quit [Ping timeout: 246 seconds]
true-grue has quit [Quit: Leaving]
landakram has joined #racket
nisstyre has joined #racket
gabot has joined #racket
zenspider has joined #racket
dbmikus has joined #racket
oriba has joined #racket
sm2n has quit [Read error: Connection reset by peer]
badkins has quit [Remote host closed the connection]
sm2n has joined #racket
dataangel has joined #racket
tilpner has quit [Remote host closed the connection]