Function identity

Source
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(()), ());