functional-closures

Crates.iofunctional-closures
lib.rsfunctional-closures
version0.4.0
sourcesrc
created_at2023-09-20 03:24:09.377603
updated_at2023-09-24 02:51:33.289705
descriptioncomposable pure functions with the signature f(T) -> T
homepage
repository
max_upload_size
id977773
size10,353
(Krayfighter)

documentation

README

Function Closures

This crate allows you to create constant functions, and the identity function and combine them with a couple basic operations like follows

// for graphing this is y = x
let y = Function::default();

// f(x) = 3x
let f = Function::new(3.)*Function::default();

// note that Function implements From::<f64> no matter the underlying type
let f = Function::from(3.)*Function::default();

Development

Development is currently very active and many breaking changes are still to come

writen 9/20/23

docs

Commit count: 0

cargo fmt