law append_nil
import bend-mathlib@0.8.1.0/list.bend as Listimport Base
7# The empty list is a right identity for append: xs ++ [] = xs.
8law append_nil:
9 for -a: Quant
10 for -A: Kind(a)
11 for xs: List<a, A>
12 {List.append(a, A, xs, Nil{}) == xs : List<a, A>}