skapata has quit [Read error: Connection reset by peer]
codingquark has quit [Ping timeout: 256 seconds]
Algernon69 has joined #racket
Algernon69 has quit [Ping timeout: 245 seconds]
monaaraj has quit [Ping timeout: 256 seconds]
monaaraj has joined #racket
Algernon69 has joined #racket
Algernon91 has joined #racket
Algernon69 has quit [Ping timeout: 245 seconds]
codingquark has joined #racket
monaaraj has quit [Ping timeout: 250 seconds]
monaaraj has joined #racket
codingquark has quit [Ping timeout: 256 seconds]
Avichi has joined #racket
Codaraxis_ has quit [Remote host closed the connection]
Codaraxis_ has joined #racket
codingquark has joined #racket
gproto23_ has joined #racket
capfredf has joined #racket
capfredf has quit [Ping timeout: 256 seconds]
lispy has joined #racket
dhil has joined #racket
Algernon91 has quit [Ping timeout: 252 seconds]
Algernon91 has joined #racket
<bremner>
does anyone know of a nice example of a string formatting dsl that is just s-expressions, and doesn't use a format string?
dhil has quit [Ping timeout: 250 seconds]
Algernon91 has quit [Ping timeout: 250 seconds]
Algernon91 has joined #racket
Codaraxis_ has quit [Remote host closed the connection]
Codaraxis_ has joined #racket
lispy has quit [Quit: Leaving]
<ns12>
bremner: You could write your string as a list of (sub)strings, which would allow the use of quasiquotation. Then, (apply string-append ...) to produce a single string.
biog has joined #racket
capfredf has joined #racket
capfredf has quit [Ping timeout: 256 seconds]
s-liao has joined #racket
s-liao has quit [Quit: Client closed]
s-liao has joined #racket
monaaraj has quit [Ping timeout: 250 seconds]
morte_ has joined #racket
monaaraj has joined #racket
Avichi has quit [Quit: Client closed]
monaaraj has quit [Ping timeout: 250 seconds]
monaaraj has joined #racket
monaaraj has quit [Ping timeout: 256 seconds]
capfredf has joined #racket
monaaraj has joined #racket
capfredf has quit [Ping timeout: 250 seconds]
notzmv has quit [Ping timeout: 250 seconds]
monaaraj has quit [Ping timeout: 256 seconds]
monaaraj has joined #racket
ec has joined #racket
s-liao has quit [Quit: Client closed]
<tonyg>
from another channel: (~a "Hello, "name"! You are "age" years old, and your children's names are "(~j "," ", and" kids-names ~a)".")
<tonyg>
imagining a reasonable ~j there
skapata has joined #racket
skapata has quit [Changing host]
skapata has joined #racket
monaaraj has quit [Ping timeout: 256 seconds]
monaaraj has joined #racket
xgqt has quit [Ping timeout: 256 seconds]
xgqt has joined #racket
capfredf has joined #racket
capfredf has quit [Ping timeout: 250 seconds]
<ns12>
tonyg: What library does that string formatting syntax come from?
monaaraj has quit [Ping timeout: 240 seconds]
monaaraj has joined #racket
capfredf has joined #racket
capfredf has quit [Remote host closed the connection]
capfredf has joined #racket
notzmv has joined #racket
Algernon91 has quit [Read error: Connection reset by peer]
Algernon91 has joined #racket
<tonyg>
ns12: ~a is standard. ~j is an easy subroutine