Hoogle Search
Within LTS Haskell 24.28 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
expectJust :: HasCallStack => Maybe a -> IO aImpSpec Test.ImpSpec.Expectations Return value from the Just an fail otherwise Difference from shouldSatisfy action isJust in that expectJust will force the content of the Just to WHNF and it will also return it.
expectJustDeep :: (HasCallStack, NFData a) => Maybe a -> IO aImpSpec Test.ImpSpec.Expectations Same as expectJust, but will force the value to NF
expectJustDeep_ :: (HasCallStack, NFData a) => Maybe a -> IO ()ImpSpec Test.ImpSpec.Expectations Same as expectJustDeep, but will discard the forced contents of Just
shouldBeJust :: (HasCallStack, Show a, Eq a) => Maybe a -> a -> ExpectationImpSpec Test.ImpSpec.Expectations expectJust :: (HasCallStack, MonadIO m) => Maybe a -> m aImpSpec Test.ImpSpec.Expectations.Lifted No documentation available.
expectJustDeep :: (HasCallStack, NFData a, MonadIO m) => Maybe a -> m aImpSpec Test.ImpSpec.Expectations.Lifted No documentation available.
expectJustDeep_ :: (HasCallStack, NFData a, MonadIO m) => Maybe a -> m ()ImpSpec Test.ImpSpec.Expectations.Lifted No documentation available.
shouldBeJust :: (HasCallStack, Show a, Eq a, MonadIO m) => Maybe a -> a -> m ()ImpSpec Test.ImpSpec.Expectations.Lifted -
LPFP LPFP.SimpleVec No documentation available.
tokenIsJustCommandOutput :: Token -> BoolShellCheck ShellCheck.AnalyzerLib No documentation available.