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;
|
||||
|
@ -1,10 +1,16 @@
|
||||
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> {
|
||||
/// Loop running.
|
||||
///
|
||||
/// Isomorphic to [`Result::Err`].
|
||||
Pending(P),
|
||||
/// Loop finished.
|
||||
///
|
||||
/// Isomorphic to [`Result::Ok`].
|
||||
Done(D),
|
||||
}
|
||||
|
||||
|
@ -1,3 +1,6 @@
|
||||
//! # RADN
|
||||
//! Rainbow something something Network.
|
||||
|
||||
pub mod core;
|
||||
pub mod flow;
|
||||
pub mod func;
|
||||
|
Loading…
Reference in New Issue
Block a user