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.

  1. newtype WidgetFor site a

    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.

  2. WidgetFor :: (WidgetData site -> IO a) -> WidgetFor site a

    yesod-core Yesod.Core.Types

    No documentation available.

  3. unHandlerFor :: HandlerFor site a -> HandlerData site site -> IO a

    yesod-core Yesod.Core.Types

    No documentation available.

  4. unSubHandlerFor :: SubHandlerFor sub master a -> HandlerData sub master -> IO a

    yesod-core Yesod.Core.Types

    No documentation available.

  5. unWidgetFor :: WidgetFor site a -> WidgetData site -> IO a

    yesod-core Yesod.Core.Types

    No documentation available.

  6. data WidgetFor site a

    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.

  7. lensRulesFor :: [(String, String)] -> LensRules

    microlens-th Lens.Micro.TH

    A modification of lensRules used by makeLensesFor (the only difference is that a simple lookup function is used for lensField).

  8. makeLensesFor :: [(String, String)] -> Name -> DecsQ

    microlens-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")] ''Foo
    
    would 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")] ''Foo
    
    would generate
    slots :: Traversal' Foo Int
    slots f foo = Foo <$> f (slot1 foo)
    <*> f (slot2 foo)
    <*> f (slot3 foo)
    

  9. _ForallT :: Traversal' Type ([TyVarBndrSpec], Cxt, Type)

    microlens-th Lens.Micro.TH.Internal

    No documentation available.

  10. defaultMainGeneratorFor :: String -> [String] -> ExpQ

    tasty-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_.

Page 520 of many | Previous | Next