00:00
littlebobeep has quit [Ping timeout: 240 seconds]
00:01
ur5us has quit [Ping timeout: 250 seconds]
00:23
badkins has quit [Remote host closed the connection]
00:48
TCZ has joined #racket
00:59
TCZ is now known as proportions
01:09
proportions has quit [Quit: ...]
01:28
badkins has joined #racket
01:29
ur5us has joined #racket
01:33
badkins has quit [Ping timeout: 260 seconds]
01:43
littlebobeep has joined #racket
01:48
yuu[m] has left #racket [#racket]
01:58
skapata has quit [Remote host closed the connection]
02:00
ec has quit [Ping timeout: 240 seconds]
02:23
tonyg2 has joined #racket
02:25
tonyg has quit [Ping timeout: 256 seconds]
02:25
tonyg2 is now known as tonyg
02:33
average_ has quit [Quit: Connection closed for inactivity]
02:48
lowak_ has joined #racket
02:48
lowak has quit [Quit: Bye! \o]
03:00
badkins has joined #racket
03:04
badkins has quit [Ping timeout: 250 seconds]
03:08
capfredf has joined #racket
03:15
capfredf has quit [Ping timeout: 240 seconds]
03:51
monkey_ has quit [Ping timeout: 240 seconds]
04:10
ur5us has quit [Ping timeout: 250 seconds]
04:48
ermo has joined #racket
05:04
ur5us has joined #racket
05:40
capfredf has joined #racket
05:44
capfredf has quit [Ping timeout: 276 seconds]
05:50
ur5us has quit [Ping timeout: 240 seconds]
06:05
jao has quit [Ping timeout: 240 seconds]
06:29
ttree has quit [Ping timeout: 250 seconds]
07:02
badkins has joined #racket
07:07
badkins has quit [Ping timeout: 246 seconds]
07:30
lortabac has joined #racket
08:04
littlebobeep has quit [Ping timeout: 240 seconds]
08:06
littlebobeep has joined #racket
08:13
codingquark has quit [Ping timeout: 246 seconds]
08:26
codingquark has joined #racket
09:03
badkins has joined #racket
09:07
badkins has quit [Ping timeout: 240 seconds]
09:11
badkins has joined #racket
09:15
badkins has quit [Ping timeout: 246 seconds]
09:16
capfredf has joined #racket
09:20
capfredf has quit [Ping timeout: 248 seconds]
09:41
ASau has joined #racket
10:51
codingquark has quit [Ping timeout: 240 seconds]
11:13
badkins has joined #racket
11:17
badkins has quit [Ping timeout: 250 seconds]
11:43
Avichi has joined #racket
11:49
libertyprime has quit [Ping timeout: 248 seconds]
12:10
libertyprime has joined #racket
12:32
badkins has joined #racket
12:38
badkins has quit [Ping timeout: 246 seconds]
12:49
capfredf has joined #racket
12:54
capfredf has quit [Ping timeout: 246 seconds]
13:06
badkins has joined #racket
13:10
libertyprime has quit [Ping timeout: 240 seconds]
13:10
badkins has quit [Ping timeout: 250 seconds]
13:16
Avichi has quit [Quit: Client closed]
13:20
kengruven has quit [Remote host closed the connection]
13:21
kengruven has joined #racket
13:25
morte_ has joined #racket
13:25
kengruven has quit [Ping timeout: 248 seconds]
13:29
codingquark has joined #racket
13:29
capfredf has joined #racket
13:39
codingquark has quit [Read error: Connection reset by peer]
13:40
codingquark has joined #racket
13:41
littlebobeep has quit [*.net *.split]
13:41
winny has quit [*.net *.split]
13:41
lowak_ has quit [*.net *.split]
14:01
lowak has joined #racket
14:02
littlebobeep has joined #racket
14:04
winny_ has joined #racket
14:08
Avichi has joined #racket
14:09
badkins has joined #racket
14:15
littlebobeep has quit [Ping timeout: 240 seconds]
14:16
Lulu has quit [Quit: Ouch! Got SIGIRL, dying...]
14:17
Lulu has joined #racket
14:18
badkins has quit [Ping timeout: 256 seconds]
14:21
Lulu has quit [Client Quit]
14:23
badkins has joined #racket
14:23
littlebobeep has joined #racket
14:28
Lulu has joined #racket
14:34
Lulu has quit [Quit: Ouch! Got SIGIRL, dying...]
14:40
monkey_ has joined #racket
14:54
ec has joined #racket
15:05
lortabac has quit [Quit: WeeChat 2.8]
15:14
monkey_ has quit [Ping timeout: 246 seconds]
15:16
msiism has joined #racket
15:17
<
msiism >
I'm working on a little accounting application that uses S-expressions as its database format.
15:18
<
msiism >
The problem is: I'm wondering how to make `filter-by-type` a more efficient combinations of `filter-debit` and `filter-credit`.
15:19
<
msiism >
I guess, using subfunctions is probably the best way, even though it doesn't save lines of code.
15:21
kengruven has joined #racket
15:24
kenran has joined #racket
15:40
ttree has joined #racket
15:52
<
mikko >
msiism: taking "debit" and "credit" as a string feels a bit icky but if you want to do it this way your cond could be [(string=? type "debit") (filter is-debit? lst)]
15:55
<
msiism >
Oh, wait a second, now I see what you're doing there. Yeah, that's an idea.
15:55
<
msiism >
What would be better than using a string as the argument's data type??
15:57
<
mikko >
just calling (filter is-debit? lst) directly instead of (filter-by-type lst "debit")
15:57
<
msiism >
Yeah, but that leads to sort of an inconsistent interface.
15:58
<
msiism >
Or, maybe not.
15:58
<
msiism >
I mean, I'm aiming to have all the filter functions named `filter-by-<thing>`.
16:02
<
mikko >
that's fine (although personally i would prefer using the built-in filter to save one level of indirection)
16:03
* msiism
was once using Tcl regularly, albeit only on a hobbyist level.
16:08
Avichi has quit [Quit: Client closed]
16:09
<
msiism >
Yeah, I should really be using the built-in filter funtion because it's really just about positive versus negative numbers.
16:11
kenran has quit [Quit: WeeChat info:version]
16:12
kenran has joined #racket
16:13
kenran has quit [Client Quit]
16:13
kenran has joined #racket
16:30
badkins has quit [Remote host closed the connection]
16:36
badkins has joined #racket
16:43
winny_ is now known as winny
17:14
kenran has quit [Quit: WeeChat info:version]
17:24
capfredf has quit [Remote host closed the connection]
17:40
badkins has quit [Remote host closed the connection]
17:47
msiism has left #racket [Konversation vaporized.]
17:51
badkins has joined #racket
17:58
badkins has quit [Ping timeout: 250 seconds]
18:01
capfredf has joined #racket
18:11
capfredf has quit [Ping timeout: 246 seconds]
18:13
ec has quit [Quit: ec]
18:17
littlebobeep has quit [Ping timeout: 240 seconds]
18:18
badkins has joined #racket
18:56
tonyg1 has joined #racket
18:57
tonyg has quit [Ping timeout: 260 seconds]
18:58
tonyg1 is now known as tonyg
19:12
capfredf has joined #racket
19:20
badkins has quit [Quit: Leaving...]
19:21
morte_ has quit [Ping timeout: 256 seconds]
19:22
badkins has joined #racket
19:22
capfredf has quit [Ping timeout: 240 seconds]
19:26
notzmv has joined #racket
19:36
morte_ has joined #racket
20:21
badkins has quit [Remote host closed the connection]
20:44
badkins has joined #racket
20:45
badkins has quit [Remote host closed the connection]
20:45
badkins has joined #racket
20:47
skapata has joined #racket
20:47
skapata has quit [Changing host]
20:47
skapata has joined #racket
20:48
littlebobeep has joined #racket
20:56
badkins has quit [Remote host closed the connection]
21:06
morte_ has quit [Ping timeout: 276 seconds]
21:08
jao has joined #racket
21:08
ur5us has joined #racket
21:12
ur5us has quit [Remote host closed the connection]
21:26
abrantesasf has joined #racket
21:29
abrantesasf has quit [Remote host closed the connection]
21:31
abrantesasf has joined #racket
21:31
abrantesasf has quit [Remote host closed the connection]
21:33
jao has quit [Ping timeout: 246 seconds]
21:36
jao has joined #racket
21:39
libertyprime has joined #racket
21:39
capfredf has joined #racket
21:46
libertyprime has quit [Ping timeout: 272 seconds]
21:59
capfredf has quit [Remote host closed the connection]
21:59
capfredf has joined #racket
22:00
capfredf has quit [Remote host closed the connection]
22:28
libertyprime has joined #racket
22:38
average_ has joined #racket
23:04
libertyprime has quit [Ping timeout: 272 seconds]
23:11
AkechiShiro has quit [Quit: WeeChat 3.2.1]
23:16
john_A has joined #racket
23:19
rekahsoft has joined #racket
23:20
rekahsoft has quit [Remote host closed the connection]
23:20
rekahsoft has joined #racket
23:21
john_A has quit [Quit: Client closed]
23:42
skapata has quit [Ping timeout: 240 seconds]
23:48
skapata has joined #racket
23:48
skapata has joined #racket
23:48
skapata has quit [Changing host]
23:50
TCZ has joined #racket