ModeCore.cm.diff: def of bend-osdev-mode-core@0.1.0.0 Import: import bend-osdev-mode-core@0.1.0.0/mode_core.bend as ModeCore Lines 255-262 of bend-osdev-mode-core@0.1.0.0/mode_core.bend: https://jend.leeeet.dev/read.txt?path=bend-osdev-mode-core@0.1.0.0/mode_core.bend&start_line=255&end_line=262 import Base def cm.diff(xs: List<&2, U32>, ys: List<&2, U32>, acc: U32) -> U32: match xs ys: case Con{a, s} Con{b, t}: cm.diff(s, t, U32.or(acc, cm.byte(U32.xor(a, b)))) case Nil{} Nil{}: acc case _ _: 1 Uses (5): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32.or https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32.xor https://jend.leeeet.dev/definition.txt?path=bend-osdev-mode-core@0.1.0.0/mode_core.bend&name=cm.byte