done with adding/inserting into GapMap
This commit is contained in:
@@ -485,11 +485,11 @@ struct
|
||||
let
|
||||
val rfirst = Vector.sub (hd, 0)
|
||||
in
|
||||
if Fn.g (new, rfirst) then
|
||||
if Fn.g (new, rfirst) then
|
||||
insRight (newKey, newVal, leftKeys, leftVals, rightKeys, rightVals)
|
||||
else if Fn.l (new, rfirst) then
|
||||
else if Fn.l (new, rfirst) then
|
||||
insLeft (newKey, newVal, leftKeys, leftVals, rightKeys, rightVals)
|
||||
else
|
||||
else
|
||||
map
|
||||
end
|
||||
| [] => insLeft (newKey, newVal, leftKeys, leftVals, rightKeys, rightVals)
|
||||
|
||||
Reference in New Issue
Block a user