query
On this page

converge

lib.fixedPoints.converge



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

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

Type

(a -> a) -> a -> a

Arguments

  • [f]
  • [x]

Noogle also knows

Aliases