pub fn identity<A>(a: A) -> A
Expand description
Returns its input.
forall a. a -> a
Examples
use fp_library::{functions::identity};
assert_eq!(identity(()), ());
pub fn identity<A>(a: A) -> A
Returns its input.
forall a. a -> a
Examples
use fp_library::{functions::identity};
assert_eq!(identity(()), ());