def AaText.eq

bend-osdev-apparmor@0.1.0.0 · text.bend:37

import bend-osdev-apparmor@0.1.0.0/text.bend as Text
import Base

37def AaText.eq(xs: List<&2, U32>, ys: List<&2, U32>) -> Bool:
38  match xs ys:
39    case Nil{} Nil{}:
40      True{}
41    case Nil{} Con{h, t}:
42      False{}
43    case Con{h, t} Nil{}:
44      False{}
45    case Con{a, as} Con{b, bs}:
46      Bool.and(U32.is_eq(a, b), AaText.eq(as, bs))

Uses (5)

Used by (10)