organise repository a little bit
This commit is contained in:
@@ -3,7 +3,7 @@ $(SML_LIB)/basis/basis.mlb
|
|||||||
ann
|
ann
|
||||||
"allowVectorExps true"
|
"allowVectorExps true"
|
||||||
in
|
in
|
||||||
automerge.sml
|
../data-sets/automerge.sml
|
||||||
end
|
end
|
||||||
|
|
||||||
transaction.sml
|
transaction.sml
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ $(SML_LIB)/basis/basis.mlb
|
|||||||
ann
|
ann
|
||||||
"allowVectorExps true"
|
"allowVectorExps true"
|
||||||
in
|
in
|
||||||
rust.sml
|
../data-sets/rust.sml
|
||||||
end
|
end
|
||||||
|
|
||||||
transaction.sml
|
transaction.sml
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ $(SML_LIB)/basis/basis.mlb
|
|||||||
ann
|
ann
|
||||||
"allowVectorExps true"
|
"allowVectorExps true"
|
||||||
in
|
in
|
||||||
seph.sml
|
../data-sets/seph.sml
|
||||||
end
|
end
|
||||||
|
|
||||||
transaction.sml
|
transaction.sml
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ $(SML_LIB)/basis/basis.mlb
|
|||||||
ann
|
ann
|
||||||
"allowVectorExps true"
|
"allowVectorExps true"
|
||||||
in
|
in
|
||||||
svelte.sml
|
../data-sets/svelte.sml
|
||||||
end
|
end
|
||||||
|
|
||||||
transaction.sml
|
transaction.sml
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ $(SML_LIB)/basis/basis.mlb
|
|||||||
ann
|
ann
|
||||||
"allowVectorExps true"
|
"allowVectorExps true"
|
||||||
in
|
in
|
||||||
automerge.sml
|
../data-sets/automerge.sml
|
||||||
end
|
end
|
||||||
|
|
||||||
transaction.sml
|
transaction.sml
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ $(SML_LIB)/basis/basis.mlb
|
|||||||
ann
|
ann
|
||||||
"allowVectorExps true"
|
"allowVectorExps true"
|
||||||
in
|
in
|
||||||
rust.sml
|
../data-sets/rust.sml
|
||||||
end
|
end
|
||||||
|
|
||||||
transaction.sml
|
transaction.sml
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ $(SML_LIB)/basis/basis.mlb
|
|||||||
ann
|
ann
|
||||||
"allowVectorExps true"
|
"allowVectorExps true"
|
||||||
in
|
in
|
||||||
seph.sml
|
../data-sets/seph.sml
|
||||||
end
|
end
|
||||||
|
|
||||||
transaction.sml
|
transaction.sml
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ $(SML_LIB)/basis/basis.mlb
|
|||||||
ann
|
ann
|
||||||
"allowVectorExps true"
|
"allowVectorExps true"
|
||||||
in
|
in
|
||||||
svelte.sml
|
../data-sets/svelte.sml
|
||||||
end
|
end
|
||||||
|
|
||||||
transaction.sml
|
transaction.sml
|
||||||
|
|||||||
16
tests/compare_to_rope.sml
Normal file
16
tests/compare_to_rope.sml
Normal 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
|
||||||
Reference in New Issue
Block a user