Crate functional_closures

Source
Expand description

This library allows you to do three things. It allows you to Create a function that returns a constant f(x) -> 4, create a function that returns its input f(x) -> x, and then do arithmatic with them and store the result f(x) -> x, g(x) -> 4, h = fg => h ~= 4x then you can do whatever you want with the resulting Arc<Fn(T) -> T> where T is essentially an f64 or other similar type

Structs§

Function
the main Function type of the library

Traits§

Rational
This is the trait bounding what is necessary to be the domain/range of any generic function