Most examples of using fixed-point combinators include functions that take integers as integers (for example, factorial). In many cases, a fixed point of a function over real numbers will turn out to be an arbitrary rational or, possibly, irrational number (a well-known example is the logistic map http://en.wikipedia.org/wiki/Logistic_map ). In these cases, a fixed point cannot be expressed in terms of primitive types (note that Clojure has relationship support). I'm interested in learning about fixed-point combinators (and their implementations!) That can calculate fixed-point functions over these "exotic" types. Since things like irrational numbers have a decimal notation as infinite sequences, it seems like this calculation should be evaluated lazily. Do any of these (supposed) lazy estimates give good approximations to true fixed points? My target languages ββare Python and Clojure, but I certainly don't mind seeing any implementations of OCaml or Haskell).
source share