The first element, or the supplied default for an empty list.
43def stdListHeadOr =
44 (lambda erased element : Type 0 .
45 (lambda unrestricted fallback : element .
46 (lambda unrestricted values : (family StdList element) .
47 (eliminate
48 StdList
49 (lambda unrestricted current : (family StdList element) . element)
50 values
51 (branch StdListEmpty . fallback)
52 (branch StdListCons head tail induction . head)))))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.