Right. Looks like I'll need a 'binary insertion sort' or similar. I'll have a go.

@djskinner maybe you want something like

`findLastIndex`

find the last element "less than" the element you want to insert

and insert it at that index?

wow, congrats ramda https://stateofjs.com/2017/other-tools/

https://stateofjs.com/2017/flavors/results

what books do you recommend for learning rules of category theory?

@GantMan have you seen this? https://bartoszmilewski.com/2014/10/28/category-theory-for-programmers-the-preface/

I have not! Thanks!

Any way to get that in an ereader/print? I'll be on an airplane soon.

i think there are free online services that convert html to epub or pdf

thanks again!

np :D

someone did it :) https://github.com/hmemcpy/milewski-ctfp-pdf

neat

i wonder how hard it would be to go from tex to epub, since pdf is fixed size...

guess i can compile it for my ereader screen size...

https://github.com/onlurking/category-theory-for-programmers epub and kindle

nice!