bor0 has quit [Quit: This computer has gone to sleep]
vraid has quit [Ping timeout: 256 seconds]
pie_ has quit [Read error: Connection reset by peer]
pie_ has joined #racket
pie_ has quit [Read error: Connection reset by peer]
pie_ has joined #racket
pie_ has quit [Read error: Connection reset by peer]
vraid has joined #racket
orivej has joined #racket
pierpal has joined #racket
YuGiOhJCJ has joined #racket
ZombieChicken has joined #racket
pierpal has quit [Ping timeout: 244 seconds]
seaword has joined #racket
<seaword>
Hi! string-ith is available in DrRacket but not in the racket repl. I am running version 7.0 of both. Other string functions, such as string-appened work in the repl.
<seaword>
Does anyone know why I can't use string-ith in the racket repl?
<seaword>
I get "; string-ith: undefined;" when trying to use it.
<bremner>
seaword: check your drracket setup. It's maybe using one of the teaching languages
<bremner>
Control-L to bring up the menu
selimcan has joined #racket
<seaword>
bremner: thanks, yeh it's using BSL. I thought I had this enabled in the repl but I probably don't. I didn't realise string-ith was in a different language than something like string-length as they appear together in the docs.
pie_ has joined #racket
jao has joined #racket
pie_ has quit [Remote host closed the connection]
pie_ has joined #racket
YuGiOhJCJ has quit [Quit: YuGiOhJCJ]
dustyweb has joined #racket
selimcan has quit [Ping timeout: 260 seconds]
seaword has quit [Quit: seaword]
selimcan has joined #racket
iyzsong has joined #racket
pie_ has quit [Read error: Connection reset by peer]
<rain2>
I was wondering what would happen if you use multiple prompts - would this version of dynamic-wind fail in that case?
<rain2>
my guess is that the dynamic wind prompt needs to "contain" all other prompts. Is that true?
sz0 has joined #racket
Hazematman has joined #racket
ZombieChicken has quit [Quit: Have a nice day]
pierpal has quit [Ping timeout: 245 seconds]
eddof13 has joined #racket
pie_ has quit [Ping timeout: 264 seconds]
sleepnap has quit [Ping timeout: 272 seconds]
pera has joined #racket
xuanrui has quit [Remote host closed the connection]
pie_ has joined #racket
orivej has joined #racket
pierpal has joined #racket
mzan has left #racket [#racket]
orivej has quit [Ping timeout: 252 seconds]
mzan has joined #racket
pierpal has quit [Quit: Poof]
pierpal has joined #racket
pierpal has quit [Read error: Connection reset by peer]
pierpal has joined #racket
selimcan has quit [Ping timeout: 240 seconds]
xuanrui has joined #racket
acarrico has quit [Read error: Connection reset by peer]
acarrico has joined #racket
YuGiOhJCJ has joined #racket
sauvin has quit [Ping timeout: 264 seconds]
<rain2>
it seems like dynamic-wind has to be special
<rain2>
you could maybe do somehting like keep a list of all prompts that have been created, and built it using thaht (inefficient though)
<rain2>
I wonder if the operators like reset-at/shift-at could take sets of prompts instead of a single prompt
odanoburu has joined #racket
orivej has joined #racket
dan_f has joined #racket
selimcan has joined #racket
YuGiOhJCJ has quit [Quit: YuGiOhJCJ]
<rain2>
Are rackets language features implement using continuations or not?
<rain2>
like generators, exceptions and such?
<rain2>
or are they just coded to cooperate with continuations
<samth>
rain2: generators and exceptions both use continuations in the implementation
<rain2>
cool! thank you
<samth>
the implemenation of generators is in racket/generator.rkt
<samth>
exceptions-handlers are mostly in racket/private/more-scheme.rkt
lavaflow_ has joined #racket
dbmikus_ has joined #racket
nckx- has joined #racket
dan_f_ has joined #racket
jao has quit [Disconnected by services]
tilpner_ has joined #racket
jao has joined #racket
iclon_ has joined #racket
eagleflo_ has joined #racket
dan_f has quit [*.net *.split]
acarrico has quit [*.net *.split]
pierpal has quit [*.net *.split]
dbmikus has quit [*.net *.split]
lavaflow has quit [*.net *.split]
nckx has quit [*.net *.split]
Lowl3v3l has quit [*.net *.split]
tilpner has quit [*.net *.split]
iclon has quit [*.net *.split]
Hyperion2010 has quit [*.net *.split]
Bunogi has quit [*.net *.split]
eagleflo has quit [*.net *.split]
mfiano has quit [*.net *.split]
gabot has quit [*.net *.split]
tilpner_ is now known as tilpner
dan_f_ is now known as dan_f
mfiano has joined #racket
acarrico has joined #racket
Lowl3v3l has joined #racket
Bunogi has joined #racket
<dustyweb>
hm. When using the scribble `examples' form, I expected output to look like it does at the REPL, using the write-proc generic (???)
<dustyweb>
instead it looks like it prints out closer to what Racket's serialization shows
gabot has joined #racket
xuanrui has quit [Ping timeout: 245 seconds]
<samth>
dustyweb: I'm pretty sure it's calling `print` there too
<dustyweb>
oh huh, the teachpack/2htdp/scribblinbs/img-eval does what I expect
pierpal has joined #racket
<dustyweb>
samth: not sure what you mean, but I guess using make-base-eval makes things less wrong :)
lavaflow_ is now known as lavaflow
acarrico has quit [Ping timeout: 245 seconds]
eddof13 has quit [Quit: eddof13]
dan_f_ has joined #racket
<samth>
dustyweb: I mean that `examples` calls `print` on your data and does not use `serialize`, I'm pretty sure
<dustyweb>
samth: hm, it printed a really long serialize'y looking thing when I initially used (make-evaluator 'racket) rather than using make-base-eval
<dustyweb>
but I won't claim to know what I'm doing :)