fp_library/types/
result.rs

1//! Implementations for [`Result`].
2
3pub mod result_with_err;
4pub mod result_with_ok;
5
6use crate::hkt::Kind0L2T;
7pub use result_with_err::*;
8pub use result_with_ok::*;
9
10/// [Brand][crate::brands] for [`Result`].
11pub struct ResultBrand;
12
13impl Kind0L2T for ResultBrand {
14	type Output<A, B> = Result<B, A>;
15}