Functor type class.
This module defines the Functor trait, which represents types that can be mapped over.
Functor
use fp_library::{brands::*, functions::*}; let x = Some(5); let y = map::<OptionBrand, _, _, _>(|i| i * 2, x); assert_eq!(y, Some(10));