Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- makeApiTests :: (Num (Numeric m), MonadIO m, LPMonad m) => (m () -> IO ()) -> TestTree
- setGetVariableName :: (MonadIO m, LPMonad m) => m ()
- setGetConstraintName :: (Num (Numeric m), MonadIO m, LPMonad m) => m ()
- data Action
- newtype LPActions m = LPActions (m ())
- lpActions :: LPMonad m => Int -> Gen (m ())
- bindOver :: Monad m => m a -> (a -> m b) -> m () -> m b
- arbitraryLPActionsProp :: LPActions m -> m ()
Documentation
setGetVariableName :: (MonadIO m, LPMonad m) => m () Source #
We should be able to set and retrieve variable names
setGetConstraintName :: (Num (Numeric m), MonadIO m, LPMonad m) => m () Source #
We should be able to set and retrieve constraint names
LPActions (m ()) |
:: Monad m | |
=> m a | The action providing the passed value |
-> (a -> m b) | The function to bind to |
-> m () | The intermediate actions |
-> m b | The resulting value |
Execute the monadic bind (>>=), with some other actions taken in between.
arbitraryLPActionsProp :: LPActions m -> m () Source #