<codingquark>
Is this org babel specific or am I doing something wrong?
<codingquark>
If I copy-paste the define expression in REPL, it does not seem to give any errors...
<capybaba>
Sounds like a problem with how org-babel is wrapping the code.
<capybaba>
Expecting a result instead of just definitions, based on the error.
<codingquark>
I'll try a different package then
<codingquark>
Yes, it seems the babel block _absolutely_ needs the code to output something
<codingquark>
Which is really no fun
<codingquark>
And this package does not support `:session'
<capybaba>
You could always add `depths` after if you need the result, but yeah, not a great workflow.
s-liao has quit [Quit: Client closed]
<codingquark>
Changed to a seemingly more maintained package for babel
<codingquark>
Things are better! Thanks!
<capybaba>
np. Racket discord might be better for questions though, usually a faster response.
<codingquark>
Awww... Poor IRC :-P
<codingquark>
Time to hop the wagon
libertyprime has joined #racket
s-liao has joined #racket
s-liao has quit [Ping timeout: 256 seconds]
tyson2 has quit [Remote host closed the connection]
capfredf has joined #racket
capfredf has quit [Ping timeout: 252 seconds]
Oxyd has quit [Remote host closed the connection]
Oxyd has joined #racket
libertyprime has quit [Ping timeout: 252 seconds]
libertyprime has joined #racket
s-liao has joined #racket
dbohdan has quit [Quit: ZNC 1.8.2+deb2+b1 - https://znc.in]
dbohdan has joined #racket
lazr has quit [Ping timeout: 256 seconds]
s-liao has quit [Quit: Client closed]
s-liao has joined #racket
dbohdan has quit [Quit: ZNC 1.8.2+deb2+b1 - https://znc.in]
dbohdan has joined #racket
dbohdan has quit [Client Quit]
dbohdan has joined #racket
s-liao has quit [Ping timeout: 256 seconds]
<Fare>
bremner, it was a Scribble question, though one specific to the LaTeX backend. Turns out, there are lots of things that can go wrong when using Scribble. In the end, I am generating the latex then compiling it myself, which works after some massaging, rather than having scribble try to generate the pdf, which fails.
ASau has joined #racket
capfredf has joined #racket
badkins has joined #racket
capfredf has quit [Ping timeout: 252 seconds]
badkins has quit [Ping timeout: 268 seconds]
Algernon91 has joined #racket
badkins has joined #racket
badkins has quit [Ping timeout: 252 seconds]
Algernon666 has joined #racket
Algernon91 has quit [Ping timeout: 252 seconds]
skapata has quit [Quit: Ĝis.]
dbohdan has quit [Quit: ZNC 1.8.2+deb2+b1 - https://znc.in]
dbohdan has joined #racket
s-liao has joined #racket
capfredf has joined #racket
capfredf has quit [Ping timeout: 256 seconds]
gproto23 has joined #racket
to-hu has joined #racket
s-liao has quit [Ping timeout: 256 seconds]
to-hu has quit [Remote host closed the connection]
s-liao has joined #racket
to-hu has joined #racket
jakzale has joined #racket
to-hu has quit [Remote host closed the connection]
to-hu has joined #racket
Codaraxis__ has joined #racket
Codaraxis_ has quit [Read error: Connection reset by peer]
s-liao has quit [Ping timeout: 256 seconds]
s-liao has joined #racket
capfredf has joined #racket
capfredf has quit [Ping timeout: 252 seconds]
Codaraxis_ has joined #racket
tyson2 has joined #racket
Codaraxis__ has quit [Ping timeout: 256 seconds]
gproto23 has quit [Ping timeout: 252 seconds]
ckie has joined #racket
badkins has joined #racket
<ckie>
hi, i'm trying to pick up a bit of racket for AoC; is there a `map` that also gives the current idx? i want to get both the current element and the last one
badkins has quit [Ping timeout: 268 seconds]
unyu has joined #racket
gproto23 has joined #racket
gproto23 has quit [Remote host closed the connection]
gproto23 has joined #racket
capfredf has joined #racket
s-liao has quit [Quit: Client closed]
ASau has quit [Read error: Connection reset by peer]
badkins has joined #racket
ASau has joined #racket
badkins has quit [Remote host closed the connection]
badkins has joined #racket
<bremner>
ckie: note that indexing into lists like arrays is not super efficient. As for your question, I usually use one of the for/something forms that allow looping over several lists / ranges in parallel. One of those can be the list of indices
<bremner>
I don't know of is speed is an issue, but if so one option would be to copy the list to a vector then loop over that
<ckie>
bremner: speed isn't an issue. i'll save your messages so i can get back to them eventually (no brain space for another context switch atm)
Algernon91 has joined #racket
Algernon666 has quit [Ping timeout: 250 seconds]
tyson2 has quit [Remote host closed the connection]
tyson2` has joined #racket
tyson2 has joined #racket
tyson2` has quit [Ping timeout: 252 seconds]
tyson2 has quit [Ping timeout: 252 seconds]
tyson2`` has joined #racket
skapata has joined #racket
skapata has quit [Changing host]
skapata has joined #racket
tyson2`` has quit [Ping timeout: 252 seconds]
libertyprime has quit [Ping timeout: 256 seconds]
ec_ has quit [Ping timeout: 276 seconds]
skapata has quit [Remote host closed the connection]
Codaraxis_ has quit [Ping timeout: 252 seconds]
to-hu has quit [Ping timeout: 268 seconds]
tyson2 has joined #racket
tyson2 has quit [Ping timeout: 256 seconds]
badkins has quit [Remote host closed the connection]
badkins has joined #racket
ec_ has joined #racket
badkins has quit [Ping timeout: 252 seconds]
mfiano has joined #racket
to-hu has joined #racket
mfiano has quit [Quit: leaving]
tyson2 has joined #racket
capfredf has quit [Remote host closed the connection]
mfiano has joined #racket
capfredf has joined #racket
capfredf has quit [Ping timeout: 256 seconds]
badkins has joined #racket
mfiano has quit [Quit: leaving]
xgqt has quit [Ping timeout: 252 seconds]
xgqt has joined #racket
yourname_ has joined #racket
yourname_ has quit [Client Quit]
mfiano has joined #racket
mfiano has quit [Quit: leaving]
mfiano has joined #racket
mfiano has quit [Client Quit]
mfiano has joined #racket
mfiano has quit [Client Quit]
mfiano has joined #racket
badkins has quit [Remote host closed the connection]
badkins has joined #racket
badkins has quit [Ping timeout: 268 seconds]
monkey_ has joined #racket
Algernon91 has quit [Ping timeout: 252 seconds]
tyson2 has quit [Remote host closed the connection]
xgqt has quit [Quit: WeeChat 3.3]
xgqt has joined #racket
monkey_ has quit [Ping timeout: 256 seconds]
monkey_ has joined #racket
skapata has joined #racket
skapata has quit [Changing host]
skapata has joined #racket
tyson2 has joined #racket
capfredf has joined #racket
capfredf has quit [Ping timeout: 252 seconds]
Fare has quit [Ping timeout: 252 seconds]
tyson2 has quit [Remote host closed the connection]
badkins has joined #racket
monkey_ has quit [Ping timeout: 252 seconds]
badkins has quit [Ping timeout: 252 seconds]
wwalker has quit [Quit: leaving]
monkey_ has joined #racket
wwalker has joined #racket
Fare has joined #racket
wwalker has quit [Quit: leaving]
tyson2 has joined #racket
Algernon91 has joined #racket
Algernon91 has quit [Read error: Connection reset by peer]
Algernon91 has joined #racket
badkins has joined #racket
wwalker has joined #racket
abrantesasf has joined #racket
sagax has quit [Ping timeout: 252 seconds]
monkey_ has quit [Ping timeout: 252 seconds]
monkey_ has joined #racket
monkey_ has quit [Remote host closed the connection]
gproto23 has quit [Remote host closed the connection]
capfredf has joined #racket
tyson2 has quit [Remote host closed the connection]
badkins has quit [Remote host closed the connection]
badkins has joined #racket
Avichi has joined #racket
Algernon91 has quit [Ping timeout: 252 seconds]
capfredf has quit [Remote host closed the connection]