console text editor written in fsharp
imperative shell; maintains a mutable editor and renders it appropriately with every keystroke
where the fun is: defines an Editor type and exposes functions on it (up
, down
, insertChar
, removeChar
etc)
a failed attempt to use a piece table data structure to store the text instead of a string array