query
On this page

converge

lib.converge

Docs pulled from | This Revision | 35 minutes ago


Return the fixpoint that f converges to when called iteratively, starting with the input x.

nix-repl> converge (x: x / 2) 16
0

Inputs

f

1. Function argument

x

2. Function argument

Type

(a -> a) -> a -> a
(lib.fixedPoints.converge)

Noogle also knows

Aliases