move ControlFlow to func::controlflow

This commit is contained in:
AF 2023-06-18 11:51:03 +00:00
parent fbdb056fa1
commit a067d041f4
4 changed files with 4 additions and 6 deletions

View File

@ -22,13 +22,10 @@ pub mod test_suite;
#[cfg(test)]
pub mod tests;
pub use std::ops::ControlFlow;
pub use self::applicative_select::{
ApplicativeSelect, ApplicativeSelectExt, Selected, SelectedWrapped,
};
use self::controlflow::{BindableMut, ControlFlowInstance};
pub use self::controlflow::{Iterative, IterativeWrapped};
pub use self::controlflow::{ControlFlow, Iterative, IterativeWrapped};
pub use self::extensions::MonadExt;
#[cfg(doc)]
use self::instances::stackless::StacklessInstance;

View File

@ -1,4 +1,5 @@
use std::marker::PhantomData;
pub use std::ops::ControlFlow;
use super::*;

View File

@ -1,4 +1,4 @@
use super::*;
use super::{controlflow::BindableMut, *};
pub trait MonadExt<'a>: Monad<'a> {
/// [`FnMut`] version of [`Monad::iterate`].

View File

@ -1,4 +1,4 @@
use super::*;
use super::{controlflow::ControlFlowInstance, *};
/// Represents wrapped results which are instantly available.
pub trait LocalFunctor<'a>: WeakFunctor<'a> {