Source/Packages

Std.List

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

361 lines21 declarations15.3 KiBSHA-256 b071be8610d6

def · lines 68–76

stdListTail

Full file
Everything after the first element; the empty list has an empty tail.
68def stdListTail =
69  (lambda erased element : Type 0 .
70    (lambda unrestricted values : (family StdList element) .
71      (eliminate
72        StdList
73        (lambda unrestricted current : (family StdList element) . (family StdList element))
74        values
75        (branch StdListEmpty . (constructor StdList StdListEmpty element))
76        (branch StdListCons head tail induction . tail))))

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.