istate docs
This commit is contained in:
parent
68bce93ede
commit
4d6cfaac1c
@ -1,3 +1,3 @@
|
|||||||
//! Data structures and algorithms, independent of [crate::core] concepts.
|
//! Data structures and algorithms, independent of [`crate::core`] concepts.
|
||||||
|
|
||||||
pub mod traversible;
|
pub mod traversible;
|
||||||
|
@ -1,10 +1,16 @@
|
|||||||
use super::*;
|
use super::*;
|
||||||
|
|
||||||
/// Represents iteration state.
|
/// Represents iteration state. Used in [`Monad::ibind`].
|
||||||
|
///
|
||||||
|
/// [`IState<P, D>`] is isomorphic to [`Result<D, P>`].
|
||||||
pub enum IState<P, D> {
|
pub enum IState<P, D> {
|
||||||
/// Loop running.
|
/// Loop running.
|
||||||
|
///
|
||||||
|
/// Isomorphic to [`Result::Err`].
|
||||||
Pending(P),
|
Pending(P),
|
||||||
/// Loop finished.
|
/// Loop finished.
|
||||||
|
///
|
||||||
|
/// Isomorphic to [`Result::Ok`].
|
||||||
Done(D),
|
Done(D),
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,3 +1,6 @@
|
|||||||
|
//! # RADN
|
||||||
|
//! Rainbow something something Network.
|
||||||
|
|
||||||
pub mod core;
|
pub mod core;
|
||||||
pub mod flow;
|
pub mod flow;
|
||||||
pub mod func;
|
pub mod func;
|
||||||
|
Loading…
Reference in New Issue
Block a user