Hoogle Search

Within LTS Haskell 24.41 (ghc-9.10.3)

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

  1. suffixed :: Eq a => [a] -> Prism' [a] [a]

    optics-core Data.List.Optics

    A Prism stripping a suffix from a list when used as a Traversal, or appending that suffix when run backwards:

    >>> "review" ^? suffixed "view"
    Just "re"
    
    >>> "review" ^? suffixed "tire"
    Nothing
    
    >>> suffixed ".o" # "hello"
    "hello.o"
    

  2. noIx :: forall (is :: IxList) . (IxOptic k s t a b, NonEmptyIndices is) => Optic k is s t a b -> Optic k NoIx s t a b

    optics-core Optics.Indexed.Core

    Convert an indexed optic to its unindexed equivalent.

  3. type WithIx i = '[i]

    optics-core Optics.Internal.Optic.TypeLevel

    Singleton index list

  4. toIxLensVL :: forall k (is :: IxList) i s t a b . (Is k A_Lens, HasSingleIndex is i) => Optic k is s t a b -> IxLensVL i s t a b

    optics-core Optics.IxLens

    Convert an indexed lens to its van Laarhoven representation.

  5. withIxLensVL :: forall k (is :: IxList) i s t a b r . (Is k A_Lens, HasSingleIndex is i) => Optic k is s t a b -> (IxLensVL i s t a b -> r) -> r

    optics-core Optics.IxLens

    Work with an indexed lens in the van Laarhoven representation.

  6. type WithIx i = '[i]

    optics-core Optics.Optic

    Singleton index list

  7. type C_TestFixtureFunc = Ptr () -> Ptr () -> IO ()

    gi-glib GI.GLib.Callbacks

    Type for the callback on the (unwrapped) C side.

  8. type C_UnixFDSourceFunc = Int32 -> CUInt -> Ptr () -> IO CInt

    gi-glib GI.GLib.Callbacks

    Type for the callback on the (unwrapped) C side.

  9. type TestFixtureFunc = Ptr () -> IO ()

    gi-glib GI.GLib.Callbacks

    The type used for functions that operate on test fixtures. This is used for the fixture setup and teardown functions as well as for the testcases themselves. userData is a pointer to the data that was given when registering the test case. fixture will be a pointer to the area of memory allocated by the test framework, of the size requested. If the requested size was zero then fixture will be equal to userData. Since: 2.28

  10. type TestFixtureFunc_WithClosures = Ptr () -> Ptr () -> IO ()

    gi-glib GI.GLib.Callbacks

    The type used for functions that operate on test fixtures. This is used for the fixture setup and teardown functions as well as for the testcases themselves. userData is a pointer to the data that was given when registering the test case. fixture will be a pointer to the area of memory allocated by the test framework, of the size requested. If the requested size was zero then fixture will be equal to userData. Since: 2.28

Page 114 of many | Previous | Next