Module type Define.S

val diff : D.state -> D.left array -> D.right array -> patch