00:07
ec has quit [Remote host closed the connection]
00:09
ec has joined #racket
00:10
badkins has quit [Remote host closed the connection]
00:38
badkins has joined #racket
00:42
badkins has quit [Ping timeout: 260 seconds]
01:51
sudden has quit [Ping timeout: 260 seconds]
01:52
badkins has joined #racket
01:53
sudden has joined #racket
01:56
badkins has quit [Ping timeout: 260 seconds]
02:05
thegeekinside has quit [Ping timeout: 268 seconds]
02:53
terrorjack has joined #racket
04:34
ur5us has quit [Ping timeout: 264 seconds]
04:46
ur5us has joined #racket
05:50
jao has quit [Ping timeout: 268 seconds]
05:54
badkins has joined #racket
05:59
badkins has quit [Ping timeout: 260 seconds]
06:46
aidalgol has joined #racket
07:05
Algernon69 has joined #racket
07:06
ur5us has quit [Ping timeout: 246 seconds]
08:14
badkins has joined #racket
08:17
ur5us has joined #racket
08:19
badkins has quit [Ping timeout: 260 seconds]
08:36
skapata has quit [Read error: Connection reset by peer]
09:14
ttree has quit [Ping timeout: 246 seconds]
09:57
ur5us has quit [Ping timeout: 260 seconds]
09:57
msiism has joined #racket
10:05
<
msiism >
I've put together a little demo for POSIX-compliant command-line parsing in Racket. Now, I'm still kind of new to Racket, so I'm looking for comment, especially on my use of `eq?`.
10:45
codingquark has quit [Read error: Connection reset by peer]
10:49
codingquark has joined #racket
11:04
Algernon69 has quit [Quit: Leaving]
11:12
sagax has quit [Remote host closed the connection]
11:18
ormaaj has quit [Quit: Bridge terminating on SIGTERM]
11:18
jA_cOp has quit [Quit: Bridge terminating on SIGTERM]
11:18
jryans has quit [Quit: Bridge terminating on SIGTERM]
11:23
leah2 has quit [Ping timeout: 264 seconds]
11:25
ormaaj has joined #racket
11:53
jryans has joined #racket
12:02
badkins has joined #racket
12:07
leah2 has joined #racket
12:07
badkins has quit [Ping timeout: 260 seconds]
12:27
thegeekinside has joined #racket
12:28
sagax has joined #racket
12:59
jao has joined #racket
13:18
badkins has joined #racket
13:41
<
samth >
msiism: looks cool! I think all of your uses of `eq?` are fine
13:41
cwebber has quit [Remote host closed the connection]
13:41
<
samth >
msiism: I think your fourth bullet about `racket/cmdline` is not correct; you can combine short flags like that
13:45
<
msiism >
Thanks. Yeah, I've re-read the docs now about single-character option combinations.
13:45
<
msiism >
I'll have to adjust the README.
13:46
<
msiism >
But I'll go and test this before.
13:46
<
samth >
msiism: I also think allowing numeric flags would be a good addition
13:47
<
samth >
and maybe a posix-compliant flag that checked the properties you describe
13:47
<
msiism >
I mean, I get why not allowing signed numbers as options makes sense.
13:48
<
msiism >
It just kind of precludes using them as option arguments.
13:48
<
msiism >
It's a trade-off.
13:48
<
msiism >
And yeah, a "posixly-correct" flag would be nice to have.
13:51
morte_ has joined #racket
13:51
<
msiism >
What I found strange was that using `eq?` instead of equal in `split-opts` (line 104) resultet in weird behavior.
13:52
<
msiism >
Namely, it led to the list of split options being returned as the list of operands.
13:52
<
msiism >
Using `equal?` instead cured this.
13:54
<
msiism >
Probably because (car argl) resulting in "" is not the same object in memory as literal "".
13:55
<
msiism >
…or a variable refering to "".
14:01
<
samth >
I think that isn't what's happening
14:01
<
samth >
"" should always be eq? to other empty strings
14:01
morte_ has quit [*.net *.split]
14:01
jryans has quit [*.net *.split]
14:01
sm2n has quit [*.net *.split]
14:01
ckie has quit [*.net *.split]
14:01
casaca has quit [*.net *.split]
14:01
samph has quit [*.net *.split]
14:01
lowhope has quit [*.net *.split]
14:02
sm2n has joined #racket
14:02
lowhope has joined #racket
14:02
morte_ has joined #racket
14:03
casaca has joined #racket
14:03
ckie has joined #racket
14:05
jryans has joined #racket
14:09
sagax has quit [Remote host closed the connection]
14:09
sxn has joined #racket
14:15
badkins has quit [Remote host closed the connection]
14:24
jA_cOp has joined #racket
14:34
badkins has joined #racket
14:53
sxn has quit [Remote host closed the connection]
14:55
ec has quit [Ping timeout: 258 seconds]
14:57
ec has joined #racket
15:01
jao has quit [Ping timeout: 246 seconds]
15:06
milia has joined #racket
15:38
lagash has quit [Remote host closed the connection]
16:00
skapata has joined #racket
16:14
lagash has joined #racket
16:18
badkins has quit [Remote host closed the connection]
17:01
badkins has joined #racket
17:02
ttree has joined #racket
17:46
jao has joined #racket
18:00
msiism has left #racket [Konversation vaporized.]
18:13
badkins has quit [Remote host closed the connection]
18:37
badkins has joined #racket
19:03
monkey_ has joined #racket
19:05
morte_ has quit [Ping timeout: 264 seconds]
19:34
codaraxis___ has joined #racket
19:38
monkey_ has quit [Read error: Connection reset by peer]
19:38
codaraxis__ has quit [Ping timeout: 264 seconds]
19:39
monkey_ has joined #racket
20:08
badkins has quit [Remote host closed the connection]
20:15
badkins has joined #racket
20:20
badkins has quit [Ping timeout: 260 seconds]
20:24
monkey_ has quit [Ping timeout: 268 seconds]
20:24
ur5us has joined #racket
20:25
cwebber has joined #racket
20:30
monkey_ has joined #racket
20:59
badkins has joined #racket
21:07
badkins has quit [Ping timeout: 260 seconds]
21:27
monkey_ has quit [Remote host closed the connection]
21:28
monkey_ has joined #racket
21:56
monkey_ has quit [Ping timeout: 268 seconds]
22:16
thawes has joined #racket
23:00
badkins has joined #racket
23:24
badkins has quit [Remote host closed the connection]
23:48
badkins has joined #racket
23:54
badkins has quit [Remote host closed the connection]
23:56
badkins has joined #racket