Hoogle Search
Within LTS Haskell 24.3 (ghc-9.10.2)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
isOrderedListMarker :: Text -> Boolpandoc Text.Pandoc.Writers.Shared No documentation available.
-
polysemy Polysemy.Internal.Writer A variant of runWriterTVar where an STM action is used instead of a TVar to commit tells.
optIndividualTestModule :: CommandLineOptions a -> Maybe IndividualTestModulesandwich Test.Sandwich.Misc No documentation available.
testModifyCookies :: (Cookies -> Cookies) -> YesodExample site ()yesod-test Yesod.Test Modify the current cookies with the given mapping function
testModifySite :: YesodDispatch site => (site -> IO (site, Middleware)) -> YesodExample site ()yesod-test Yesod.Test Modifies the site (yedSite) of the test, and creates a new WAI app (yedApp) for it. yesod-test allows sending requests to your application to test that it handles them correctly. In rare cases, you may wish to modify that application in the middle of a test. This may be useful if you wish to, for example, test your application under a certain configuration, then change that configuration to see if your app responds differently.
Examples
post SendEmailR -- Assert email not created in database testModifySite (\site -> pure (site { siteSettingsStoreEmail = True }, id)) post SendEmailR -- Assert email created in database
testModifySite (\site -> do middleware <- makeLogware site pure (site { appRedisConnection = Nothing }, middleware) )
-
OpenGL Graphics.Rendering.OpenGL.GL.DisplayLists No documentation available.
listMode :: GettableStateVar ListModeOpenGL Graphics.Rendering.OpenGL.GL.DisplayLists No documentation available.
hoistMu :: (forall a . () => f a -> g a) -> Mu f -> Mu gdata-fix Data.Fix Change base functor in Mu.
pollSTM :: Async a -> STM (Maybe (Either SomeException a))lifted-async Control.Concurrent.Async.Lifted A version of poll that can be used inside an STM transaction.
waitAnyCatchSTM :: [Async a] -> STM (Async a, Either SomeException a)lifted-async Control.Concurrent.Async.Lifted A version of waitAnyCatch that can be used inside an STM transaction.