law map_id
import bend-mathlib@0.8.1.0/list.bend as Listimport Base
1288# Mapping the identity gives the list back.
1289law map_id:
1290 for ~A: Type
1291 for xs: List<A>
1292 {List.map(~A, ~A, ~(x => x), xs) == xs : List<A>}
import bend-mathlib@0.8.1.0/list.bend as Listimport Base
1288# Mapping the identity gives the list back.
1289law map_id:
1290 for ~A: Type
1291 for xs: List<A>
1292 {List.map(~A, ~A, ~(x => x), xs) == xs : List<A>}