Hoogle Search
Within LTS Haskell 24.39 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
-
yesod-core Yesod.Core.Types A generic widget, allowing specification of both the subsite and master site datatypes. While this is simply a WriterT, we define a newtype for better error messages.
WidgetFor :: (WidgetData site -> IO a) -> WidgetFor site ayesod-core Yesod.Core.Types No documentation available.
unHandlerFor :: HandlerFor site a -> HandlerData site site -> IO ayesod-core Yesod.Core.Types No documentation available.
unSubHandlerFor :: SubHandlerFor sub master a -> HandlerData sub master -> IO ayesod-core Yesod.Core.Types No documentation available.
unWidgetFor :: WidgetFor site a -> WidgetData site -> IO ayesod-core Yesod.Core.Types No documentation available.
-
yesod-core Yesod.Core.Widget A generic widget, allowing specification of both the subsite and master site datatypes. While this is simply a WriterT, we define a newtype for better error messages.
lensRulesFor :: [(String, String)] -> LensRulesmicrolens-th Lens.Micro.TH A modification of lensRules used by makeLensesFor (the only difference is that a simple lookup function is used for lensField).
makeLensesFor :: [(String, String)] -> Name -> DecsQmicrolens-th Lens.Micro.TH Like makeLenses, but lets you choose your own names for lenses:
data Foo = Foo {foo :: Int, bar :: Bool} makeLensesFor [("foo", "fooLens"), ("bar", "_bar")] ''Foowould create lenses called fooLens and _bar. This is useful, for instance, when you don't want to prefix your fields with underscores and want to prefix lenses with underscores instead. If you give the same name to different fields, it will generate a Traversal instead:data Foo = Foo {slot1, slot2, slot3 :: Int} makeLensesFor [("slot1", "slots"), ("slot2", "slots"), ("slot3", "slots")] ''Foowould generateslots :: Traversal' Foo Int slots f foo = Foo <$> f (slot1 foo) <*> f (slot2 foo) <*> f (slot3 foo)
_ForallT :: Traversal' Type ([TyVarBndrSpec], Cxt, Type)microlens-th Lens.Micro.TH.Internal No documentation available.
defaultMainGeneratorFor :: String -> [String] -> ExpQtasty-th Test.Tasty.TH Like defaultMainGenerator, but only includes the specific function names in the test group. The function names still need to follow the pattern of starting with one of prop_, case_ or test_.