Source/Packages

Std.List

packages/foundation/standard/src/Std/List.alpha

428 lines21 declarations14.7 KiBSHA-256 1d350bdfe159

def · lines 140–156

stdListMap

Full file
Every element transformed, in order.
140def stdListMap =
141  (lambda erased element : Type 0 .
142    erased target : Type 0 .
143    unrestricted transform : (pi unrestricted value : element . target) .
144    unrestricted values : (family StdList element) .
145    eliminate
146      StdList
147      (lambda unrestricted current : (family StdList element) . family StdList target)
148      values
149      (branch StdListEmpty . constructor StdList StdListEmpty target)
150      (branch
151        StdListCons
152        head
153        tail
154        induction
155        .
156        constructor StdList StdListCons target (transform head) induction))

The compiler supplied declaration spans and resolved links from this source snapshot. This page does not assert that this file belongs to a checked closure.