Source/Packages

Observe.Stream

packages/observability/src/Observe/Stream.alpha

863 lines66 declarations29.5 KiBSHA-256 8d9909ce8db6

def · lines 140–153

aosListLast

Full file
140def aosListLast =
141  (lambda unrestricted list : (family StdList Bytes) .
142    (eliminate
143      StdList
144      (lambda unrestricted current : (family StdList Bytes) . Bytes)
145      list
146      (branch StdListEmpty . b"")
147      (branch
148        StdListCons
149        head
150        tail
151        induction
152        .
153        (aosChoose Bytes (naturalIsZero (aosListLength tail)) head induction))))

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.