Source/Packages

Std.List

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

428 lines21 declarations14.7 KiBSHA-256 1d350bdfe159

def · lines 76–83

stdListIsEmpty

Full file
Is the list empty?
76def stdListIsEmpty =
77  (lambda erased element : Type 0 . unrestricted values : (family StdList element) .
78    eliminate
79      StdList
80      (lambda unrestricted current : (family StdList element) . family StdBool)
81      values
82      (branch StdListEmpty . constructor StdBool StdTrue)
83      (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.