controlflow isolation

This commit is contained in:
AF 2023-06-18 11:55:09 +00:00
parent a067d041f4
commit 582dd76eab
3 changed files with 6 additions and 5 deletions

View File

@ -10,7 +10,7 @@
mod applicative_select;
pub mod class_prelude;
pub mod context;
mod controlflow;
pub mod controlflow;
pub mod derivations;
mod extensions;
pub mod fail;
@ -25,7 +25,7 @@ pub mod tests;
pub use self::applicative_select::{
ApplicativeSelect, ApplicativeSelectExt, Selected, SelectedWrapped,
};
pub use self::controlflow::{ControlFlow, Iterative, IterativeWrapped};
use self::controlflow::{ControlFlow, Iterative};
pub use self::extensions::MonadExt;
#[cfg(doc)]
use self::instances::stackless::StacklessInstance;

View File

@ -1,12 +1,13 @@
pub use super::{
controlflow::{ControlFlow, Iterative, IterativeWrapped},
extensions::MonadExt,
fail::{Fail, MonadFail, MonadFailAny, MonadFailAnyExt, WrapE},
instances,
local::LocalFunctor,
shared::{SharedFunctor, SharedFunctorAny},
Applicative, ApplicativeLA2, ApplicativeSelect, ApplicativeSelectExt, ApplicativeSeq,
ApplicativeTuple, ControlFlow, Functor, Iterative, IterativeWrapped, Monad, Pure, Selected,
SelectedWrapped, WeakFunctor, WeakFunctorAny, Wrap,
ApplicativeTuple, Functor, Monad, Pure, Selected, SelectedWrapped, WeakFunctor, WeakFunctorAny,
Wrap,
};
#[cfg(test)]
pub use super::{test_suite, tests};

View File

@ -1,6 +1,6 @@
//! Basic implementation of a stack/linked list.
use crate::func::context::*;
use crate::func::{context::*, controlflow::ControlFlow};
use crate::rcore::*;
use crate::rstd::{inlining::*, nullable::*, point::*, *};