Safe Haskell | None |
---|---|
Language | Haskell2010 |
- newtype FlipperT m a = FlipperT {
- unFlipperT :: StateT Features m a
- evalFlipperT :: Monad m => Features -> FlipperT m a -> m a
- execFlipperT :: Monad m => Features -> FlipperT m a -> m Features
- runFlipperT :: Monad m => Features -> FlipperT m a -> m (a, Features)
Documentation
The FlipperT
transformer for in-memory feature switchable computation.
FlipperT | |
|
MonadTrans FlipperT Source # | |
Monad m => MonadState Features (FlipperT m) Source # | |
Monad m => Monad (FlipperT m) Source # | |
Functor m => Functor (FlipperT m) Source # | |
Monad m => Applicative (FlipperT m) Source # | |
MonadIO m => MonadIO (FlipperT m) Source # | |
Monad m => ModifiesFeatureFlags (FlipperT m) Source # | |
Monad m => HasFeatureFlags (FlipperT m) Source # | |
evalFlipperT :: Monad m => Features -> FlipperT m a -> m a Source #
Evaluates a feature-switched computation, returning the final value and discarding the final state of the feature switches.