Source/Packages

Std.Natural

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

325 lines48 declarations14.4 KiBSHA-256 4234d9ebfedf

def · lines 41–49

naturalSelect

Full file
41def naturalSelect =
42  (lambda unrestricted condition : Nat .
43    (lambda unrestricted whenTrue : Nat .
44      (lambda unrestricted whenFalse : Nat .
45        (nat-eliminate
46          (lambda unrestricted current : Nat . Nat)
47          whenFalse
48          (lambda unrestricted predecessor : Nat . (lambda unrestricted induction : Nat . whenTrue))
49          condition))))

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.