Source/Packages

Std.Numeric.Profile

packages/foundation/standard/src/Std/Numeric/Profile.alpha

736 lines139 declarations26.5 KiBSHA-256 2450517e3794

def · lines 213–222

stdSelectApproximation

Full file
213def stdSelectApproximation =
214  (lambda unrestricted flag : Nat .
215    (lambda unrestricted whenTrue : (family StdApproximation) .
216      (lambda unrestricted whenFalse : (family StdApproximation) .
217        (nat-eliminate
218          (lambda unrestricted current : Nat . (family StdApproximation))
219          whenFalse
220          (lambda unrestricted predecessor : Nat .
221            (lambda unrestricted induction : (family StdApproximation) . whenTrue))
222          flag))))

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.