evdubs has quit [Remote host closed the connection]
evdubs has joined #racket
fridim has quit [Ping timeout: 252 seconds]
fridim has joined #racket
ng0_ has joined #racket
ng0 has quit [Ping timeout: 256 seconds]
ng0_ has quit [Quit: Alexa, when is the end of world?]
lavaflow has quit [Ping timeout: 245 seconds]
lavaflow has joined #racket
pie_ has joined #racket
pie__ has quit [Ping timeout: 272 seconds]
keep_learning has quit [Quit: Ping timeout (120 seconds)]
dddddd has quit [Remote host closed the connection]
keep_learning has joined #racket
keep_learning has quit [Client Quit]
keep_learning has joined #racket
pierpal has quit [Quit: Poof]
pierpal has joined #racket
pie__ has joined #racket
pie_ has quit [Ping timeout: 244 seconds]
endformationage has quit [Quit: WeeChat 2.3]
dvdmuckle has quit [Quit: Bouncer Surgery]
dvdmuckle has joined #racket
libertyprime has quit [Ping timeout: 246 seconds]
libertyprime has joined #racket
Lowl3v3l has joined #racket
jao has quit [Ping timeout: 240 seconds]
FreeFull has quit []
meepdeew has joined #racket
widp_ has quit [Ping timeout: 240 seconds]
Nomenclatura has joined #racket
_whitelogger has joined #racket
<meepdeew>
Is it uncommon to use emacs instead of drracket?
sauvin has joined #racket
<aeth>
GNU Emacs is incredibly common.
<aeth>
It's the best support for the Lisp family and it's multilingual.
widp_ has joined #racket
<meepdeew>
Hi aeth. Geiser mode is working for me in emacs with most racket code I've tried.
<meepdeew>
But it's failing to evaluate a racket file that runs perfectly fine from both DrRacket and from the terminal (if I run `$ racket filename.rkt` or `$ gracket filename.rkt`).
<meepdeew>
The error says "`#reader` not enabled", so I believe it has to do with the first three lines of code inserted by DrRacket (this is using beginner student language, bsl, from htdp, rather than #lang racket). Do you, or anyone know, know why the emacs environment would reject it?
ZombieChicken has quit [Ping timeout: 256 seconds]
<aeth>
hmm, I'm not sure
<aeth>
meepdeew: there is also a racket-mode that might have better support
<meepdeew>
alrighty, thanks aeth
pierpal has quit [Quit: Poof]
pierpal has joined #racket
widp_ has quit [Ping timeout: 250 seconds]
meepdeew has quit [Remote host closed the connection]
Lowl3v3l has quit [Remote host closed the connection]
Lowl3v3l has joined #racket
Falacer has joined #racket
widp_ has joined #racket
ng0 has joined #racket
dan_f has quit [Quit: dan_f]
Nomenclatura has quit [Remote host closed the connection]
pierpal has quit [Read error: Connection reset by peer]
pierpal has joined #racket
pierpal has quit [Ping timeout: 246 seconds]
pierpal has joined #racket
widp_ has quit [Ping timeout: 245 seconds]
widp_ has joined #racket
dddddd has joined #racket
dustyweb has quit [Remote host closed the connection]
pierpal has quit [Quit: Poof]
pierpal has joined #racket
pierpal has quit [Ping timeout: 245 seconds]
dustyweb has joined #racket
widp_ has quit [Ping timeout: 272 seconds]
widp_ has joined #racket
jao has joined #racket
ubLIX has joined #racket
ym555 has joined #racket
jao has quit [Ping timeout: 268 seconds]
Lowl3v3l has quit [Remote host closed the connection]
VansFannel has joined #racket
VansFannel has quit [Client Quit]
VansFannel has joined #racket
<VansFannel>
Hi!
<VansFannel>
Is there a way to get the list index in map function? Thanks.
<bremner>
VansFannel: you can do that using one of the for variants
<ym555>
and yeah it is range 0 4, i thought range was inclusive not exclusive
<ym555>
bremner: I can't find a for variant that gives the index
<VansFannel>
Me either
widp_ has quit [Ping timeout: 250 seconds]
widp_ has joined #racket
ng0 has quit [Quit: Alexa, when is the end of world?]
endformationage has joined #racket
libertyprime has quit [Ping timeout: 245 seconds]
<VansFannel>
I've done it. I have to implement a function that replace an item in a list, in a give index, and I've done it using tail recursion. Thanks a lot!!
widp_ has quit [Ping timeout: 250 seconds]
VansFannel has quit [Quit: Page closed]
<bremner>
I'm not sure using map counts as tail recursion ;)
<bremner>
for is just like map, it takes multiple lists
<bremner>
I guess I remember for because I've been using it more than map recently. It's a bit cleaner for most things.
Lowl3v3l has joined #racket
dbmikus has joined #racket
sleepnap has joined #racket
widp_ has joined #racket
sleepnap has left #racket [#racket]
ubLIX has quit [Quit: ubLIX]
dbmikus has quit [Ping timeout: 246 seconds]
hexagoxel has quit [Quit: ZNC 1.6.5+deb1+deb9u1 - http://znc.in]
hexagoxel has joined #racket
dbmikus has joined #racket
gnugnugnu has joined #racket
jao has joined #racket
ym555 has quit [Quit: WeeChat 2.3]
pera has joined #racket
pierpal has joined #racket
ym555 has joined #racket
pierpal has quit [Read error: Connection reset by peer]