littlebobeep has quit [Ping timeout: 240 seconds]
ur5us has quit [Ping timeout: 250 seconds]
badkins has quit [Remote host closed the connection]
TCZ has joined #racket
TCZ is now known as proportions
proportions has quit [Quit: ...]
badkins has joined #racket
ur5us has joined #racket
badkins has quit [Ping timeout: 260 seconds]
littlebobeep has joined #racket
yuu[m] has left #racket [#racket]
skapata has quit [Remote host closed the connection]
ec has quit [Ping timeout: 240 seconds]
tonyg2 has joined #racket
tonyg has quit [Ping timeout: 256 seconds]
tonyg2 is now known as tonyg
average_ has quit [Quit: Connection closed for inactivity]
lowak_ has joined #racket
lowak has quit [Quit: Bye! \o]
badkins has joined #racket
badkins has quit [Ping timeout: 250 seconds]
capfredf has joined #racket
capfredf has quit [Ping timeout: 240 seconds]
monkey_ has quit [Ping timeout: 240 seconds]
ur5us has quit [Ping timeout: 250 seconds]
ermo has quit [Quit: ZNC 1.8.2 - https://znc.in]
ermo has joined #racket
ur5us has joined #racket
capfredf has joined #racket
capfredf has quit [Ping timeout: 276 seconds]
ur5us has quit [Ping timeout: 240 seconds]
jao has quit [Ping timeout: 240 seconds]
ttree has quit [Ping timeout: 250 seconds]
badkins has joined #racket
badkins has quit [Ping timeout: 246 seconds]
lortabac has joined #racket
littlebobeep has quit [Ping timeout: 240 seconds]
littlebobeep has joined #racket
codingquark has quit [Ping timeout: 246 seconds]
codingquark has joined #racket
badkins has joined #racket
badkins has quit [Ping timeout: 240 seconds]
badkins has joined #racket
badkins has quit [Ping timeout: 246 seconds]
capfredf has joined #racket
capfredf has quit [Ping timeout: 248 seconds]
ASau has joined #racket
codingquark has quit [Ping timeout: 240 seconds]
badkins has joined #racket
badkins has quit [Ping timeout: 250 seconds]
Avichi has joined #racket
libertyprime has quit [Ping timeout: 248 seconds]
libertyprime has joined #racket
badkins has joined #racket
badkins has quit [Ping timeout: 246 seconds]
capfredf has joined #racket
capfredf has quit [Ping timeout: 246 seconds]
badkins has joined #racket
libertyprime has quit [Ping timeout: 240 seconds]
badkins has quit [Ping timeout: 250 seconds]
Avichi has quit [Quit: Client closed]
kengruven has quit [Remote host closed the connection]
kengruven has joined #racket
morte_ has joined #racket
kengruven has quit [Ping timeout: 248 seconds]
codingquark has joined #racket
capfredf has joined #racket
codingquark has quit [Read error: Connection reset by peer]
codingquark has joined #racket
littlebobeep has quit [*.net *.split]
winny has quit [*.net *.split]
lowak_ has quit [*.net *.split]
lowak has joined #racket
littlebobeep has joined #racket
winny_ has joined #racket
Avichi has joined #racket
badkins has joined #racket
littlebobeep has quit [Ping timeout: 240 seconds]
Lulu has quit [Quit: Ouch! Got SIGIRL, dying...]
Lulu has joined #racket
badkins has quit [Ping timeout: 256 seconds]
Lulu has quit [Client Quit]
badkins has joined #racket
littlebobeep has joined #racket
Lulu has joined #racket
Lulu has quit [Quit: Ouch! Got SIGIRL, dying...]
monkey_ has joined #racket
ec has joined #racket
lortabac has quit [Quit: WeeChat 2.8]
monkey_ has quit [Ping timeout: 246 seconds]
msiism has joined #racket
<msiism> I'm working on a little accounting application that uses S-expressions as its database format.
<msiism> Now, I've written a couple of fnctions for filtering data: https://paste.debian.net/plainh/1ac42e4d
<msiism> The problem is: I'm wondering how to make `filter-by-type` a more efficient combinations of `filter-debit` and `filter-credit`.
<msiism> I guess, using subfunctions is probably the best way, even though it doesn't save lines of code.
kengruven has joined #racket
kenran has joined #racket
ttree has joined #racket
<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)]
<msiism> Right.
<msiism> Oh, wait a second, now I see what you're doing there. Yeah, that's an idea.
<msiism> What would be better than using a string as the argument's data type??
<mikko> just calling (filter is-debit? lst) directly instead of (filter-by-type lst "debit")
<msiism> Yeah, but that leads to sort of an inconsistent interface.
<msiism> Or, maybe not.
<msiism> I mean, I'm aiming to have all the filter functions named `filter-by-<thing>`.
<mikko> that's fine (although personally i would prefer using the built-in filter to save one level of indirection)
<mikko> but the problem is that you're writing what i would call "stringly typed" code https://wiki.c2.com/?StringlyTyped
* msiism was once using Tcl regularly, albeit only on a hobbyist level.
<msiism> ;)
Avichi has quit [Quit: Client closed]
<msiism> Yeah, I should really be using the built-in filter funtion because it's really just about positive versus negative numbers.
kenran has quit [Quit: WeeChat info:version]
kenran has joined #racket
kenran has quit [Client Quit]
kenran has joined #racket
badkins has quit [Remote host closed the connection]
badkins has joined #racket
winny_ is now known as winny
kenran has quit [Quit: WeeChat info:version]
capfredf has quit [Remote host closed the connection]
badkins has quit [Remote host closed the connection]
msiism has left #racket [Konversation vaporized.]
badkins has joined #racket
badkins has quit [Ping timeout: 250 seconds]
capfredf has joined #racket
capfredf has quit [Ping timeout: 246 seconds]
ec has quit [Quit: ec]
littlebobeep has quit [Ping timeout: 240 seconds]
badkins has joined #racket
tonyg1 has joined #racket
tonyg has quit [Ping timeout: 260 seconds]
tonyg1 is now known as tonyg
capfredf has joined #racket
badkins has quit [Quit: Leaving...]
morte_ has quit [Ping timeout: 256 seconds]
badkins has joined #racket
capfredf has quit [Ping timeout: 240 seconds]
notzmv has joined #racket
morte_ 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
skapata has joined #racket
skapata has quit [Changing host]
skapata has joined #racket
littlebobeep has joined #racket
badkins has quit [Remote host closed the connection]
morte_ has quit [Ping timeout: 276 seconds]
jao has joined #racket
ur5us has joined #racket
ur5us has quit [Remote host closed the connection]
abrantesasf has joined #racket
abrantesasf has quit [Remote host closed the connection]
abrantesasf has joined #racket
abrantesasf has quit [Remote host closed the connection]
jao has quit [Ping timeout: 246 seconds]
jao has joined #racket
libertyprime has joined #racket
capfredf has joined #racket
libertyprime has quit [Ping timeout: 272 seconds]
capfredf has quit [Remote host closed the connection]
capfredf has joined #racket
capfredf has quit [Remote host closed the connection]
libertyprime has joined #racket
average_ has joined #racket
libertyprime has quit [Ping timeout: 272 seconds]
AkechiShiro has quit [Quit: WeeChat 3.2.1]
john_A has joined #racket
rekahsoft has joined #racket
rekahsoft has quit [Remote host closed the connection]
rekahsoft has joined #racket
john_A has quit [Quit: Client closed]
skapata has quit [Ping timeout: 240 seconds]
skapata has joined #racket
skapata has joined #racket
skapata has quit [Changing host]
TCZ has joined #racket