avocadoist has quit [Remote host closed the connection]
avocadoist has joined #racket
morte_ has joined #racket
ampersam has quit [Quit: 🖕🖕🖕🖕🖕🖕🖕🖕🖕🖕🖕🖕🖕🖕🖕🖕🖕🖕🖕🖕🖕🖕🖕🖕🖕]
ur5us has quit [Read error: Connection reset by peer]
ur5us has joined #racket
badkins has joined #racket
badkins has quit [Ping timeout: 248 seconds]
ur5us has quit [Ping timeout: 260 seconds]
morte_ has quit [Remote host closed the connection]
skapata has quit [Remote host closed the connection]
DragonMaus has quit [Ping timeout: 252 seconds]
DragonMaus has joined #racket
badkins has joined #racket
badkins has quit [Ping timeout: 255 seconds]
tarod16 has joined #racket
tarod16 has quit [Client Quit]
ur5us has joined #racket
ur5us has quit [Ping timeout: 260 seconds]
badkins has joined #racket
badkins has quit [Ping timeout: 248 seconds]
badkins has joined #racket
badkins has quit [Remote host closed the connection]
morte_ has joined #racket
morte_ has quit [Read error: Connection reset by peer]
badkins has joined #racket
morte_ has joined #racket
cwebber has joined #racket
badkins has quit [Remote host closed the connection]
badkins has joined #racket
badkins has quit [Remote host closed the connection]
badkins has joined #racket
sagax has joined #racket
badkins has quit [Remote host closed the connection]
badkins has joined #racket
morte_ has quit [Ping timeout: 252 seconds]
morte_ has joined #racket
badkins has quit [Remote host closed the connection]
badkins has joined #racket
skapata has joined #racket
morte_ has quit [Ping timeout: 265 seconds]
badkins has quit [Remote host closed the connection]
morte_ has joined #racket
badkins has joined #racket
badkins has quit [Quit: Leaving...]
morte_ has quit [Remote host closed the connection]
random-jellyfish has joined #racket
ur5us has joined #racket
morte_ has joined #racket
msiism has joined #racket
<msiism>
I've rewritten my `days-in-month` function so that it will raise exceptions on garbage input. The code is at http://paste.debian.net/plainh/3fe3dcef
<msiism>
Does that look reasonably sane?
<msiism>
I'm kind of struggling with how Racket constructs error messages.
<msiism>
Normally, I'd have a function say "days-in-month: month out of range – 14" or some such.
<msiism>
So, <name> <error message> <value>.
<msiism>
But this is probably because I've mostly seen and written error messages for end users on "Unix" so far.