organise repository a little bit

This commit is contained in:
2024-06-30 00:07:45 +01:00
parent 37653a7c85
commit de087a86d5
13 changed files with 24 additions and 8 deletions

16
tests/compare_to_rope.sml Normal file
View File

@@ -0,0 +1,16 @@
structure CompareToRope =
struct
local
fun folder ((pos, delNum, insStr), buffer, fIns, fDel) =
let
val buffer =
if String.size insStr > 0 then
fIns (pos, insStr, buffer) else buffer
in
buffer
end
in
fun runTxns () =
Vector.foldl folder Txn.empty Txn.txns
end
end