laurent.orseau
2020-4-9 11:39:24

Turns out that (for* ([x (in-list lst)] [i (in-naturals)]) ...) is most likely not what’s intended :face_palm:


soegaard2
2020-4-9 11:59:05

Is in-indexed forgotten? `(for ([(x i) (in-indexed (in-list lst))]) … )


soegaard2
2020-4-9 11:59:31

And which version is fastest?


laurent.orseau
2020-4-9 12:01:28

Yeah, for some reason I always forget about in-indexed. I don’t think there should be any significant difference in speed between the two though.


soegaard2
2020-4-9 12:02:10

I also tend to use in-naturals


laurent.orseau
2020-4-9 12:02:26

I find it more natural :stuck_out_tongue:


soegaard2
2020-4-9 12:15:30

Just realized that it’s ok to write .0 instead of 0.


sorawee
2020-4-9 14:33:24

That should be for and not for*, right?


laurent.orseau
2020-4-9 14:33:56

yes :slightly_smiling_face:


soegaard2
2020-4-9 17:28:37

Apropos breaking update. A new version of MathJax hit the interwebs today:


soegaard2
2020-4-9 17:28:42

Sigh…


soegaard2
2020-4-9 17:29:11

The formula is slightly (just slightly) bigger than usual.


laurent.orseau
2020-4-9 17:38:06

At least you can’t miss it


soegaard2
2020-4-9 17:52:29

The fix was to change > src="https://cdn.jsdelivr.net/npm/mathjax@"@"3/es5/tex-svg-full.js" to > src="https://cdn.jsdelivr.net/npm/mathjax@"@"3.0.1/es5/tex-svg-full.js"


soegaard2
2020-4-9 17:53:16

Well - for now - I still need to get to work with the new version of course.


brejoc
2020-4-9 19:16:14

@brejoc has joined the channel