fp_library/types/
result.rs

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