Data structures that can be compacted by filtering out None or separated by splitting Result values.
None
Result
use fp_library::{brands::*, functions::*}; let x = Some(Some(5)); let y = compact::<OptionBrand, _>(x); assert_eq!(y, Some(5));
Option
Some
Ok
Err