Source/Packages

Std.List

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

361 lines21 declarations15.3 KiBSHA-256 b071be8610d6

def · lines 79–87

stdListIsEmpty

Full file
Is the list empty?
79def stdListIsEmpty =
80  (lambda erased element : Type 0 .
81    (lambda unrestricted values : (family StdList element) .
82      (eliminate
83        StdList
84        (lambda unrestricted current : (family StdList element) . (family StdBool))
85        values
86        (branch StdListEmpty . (constructor StdBool StdTrue))
87        (branch StdListCons head tail induction . (constructor StdBool StdFalse)))))

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.