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