Hoogle Search

Within LTS Haskell 24.38 (ghc-9.10.3)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

  1. 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.

  2. 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).

  3. 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)
    

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

    microlens-th Lens.Micro.TH.Internal

    No documentation available.

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

  6. testGroupGeneratorFor :: String -> [String] -> ExpQ

    tasty-th Test.Tasty.TH

    Like testGroupGenerator, but generates a test group only including the specified function names. The function names still need to follow the pattern of starting with one of prop_, case_ or test_.

  7. expiresFormat :: String

    cookie Web.Cookie

    No documentation available.

  8. removePathForcibly :: MonadIO m => Path b t -> m ()

    path-io Path.IO

    Remove a file or directory at path together with its contents and subdirectories. Symbolic links are removed without affecting their targets. If the path does not exist, nothing happens. Unlike other removal functions, this function will also attempt to delete files marked as read-only or otherwise made unremovable due to permissions. As a result, if the removal is incomplete, the permissions or attributes on the remaining files may be altered. If there are hard links in the directory, then permissions on all related hard links may be altered. If an entry within the directory vanishes while removePathForcibly is running, it is silently ignored. If an exception occurs while removing an entry, removePathForcibly will still try to remove as many entries as it can before failing with an exception. The first exception that it encountered is re-thrown.

  9. MalformedRequest :: RequestHead -> String -> HandshakeException

    websockets Network.WebSockets

    The request was somehow invalid (missing headers or wrong security token)

  10. MalformedResponse :: ResponseHead -> String -> HandshakeException

    websockets Network.WebSockets

    The servers response was somehow invalid (missing headers or wrong security token)

Page 520 of many | Previous | Next