1 comment

[ 4.8 ms ] story [ 16.2 ms ] thread
This is my case study about how to reduce the code complexity of the one-line text editor with categorical combinators which are explained in the Appendix.

Corner cases (~15) are handled by the composition of 5 reusable, independent building blocks.

As a bonus, cooperative-editing is supported by default.