module Simple: functor (* : sig
functor (
*
:
sig
end) -> S
end
) ->
S
参数类型为 update_result := state
val diff : D.state -> D.left array -> D.right array -> Diffing.Define.patch
D.state -> D.left array -> D.right array -> Diffing.Define.patch
diff state l r 计算 l 和 r 之间的最佳补丁,使用初始状态 state。
diff state l r
l
r
state