def append
import bend-collections-laws-math@1.0.0.0/spec/lib/common.bend as Commonimport Base
133def append(-A: Data, xs: List<&2, A>, ys: List<&2, A>) -> List<&2, A>:
134 match xs:
135 case Nil{}:
136 ys
137 case Con{h, t}:
138 Con{h, append(A, t, ys)}
Uses (1)
Used by (25)
- bend-collections-laws-math@1.0.0.0/proofs/lib/list:append_nil
- bend-collections-laws-math@1.0.0.0/proofs/math/typed/fixbytes:dsplit
- bend-collections-laws-math@1.0.0.0/proofs/lib/list:append_snoc
- bend-collections-laws-math@1.0.0.0/proofs/lib/list:base_rev
- bend-collections-laws-math@1.0.0.0/proofs/lib/list:base_rev_go
- …