pub const fn id<T>(x: T) -> T
The identity function id(x) = x also known as I (Idiot) combinator.
use rust2fun::prelude::*; let actual = Some(1).map(id); assert_eq!(Some(1), actual);