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.
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"
-
optics-core Optics.Indexed.Core Convert an indexed optic to its unindexed equivalent.
-
optics-core Optics.Internal.Optic.TypeLevel Singleton index list
-
optics-core Optics.IxLens Convert an indexed lens to its van Laarhoven representation.
-
optics-core Optics.IxLens Work with an indexed lens in the van Laarhoven representation.
-
optics-core Optics.Optic Singleton index list
type
C_TestFixtureFunc = Ptr () -> Ptr () -> IO ()gi-glib GI.GLib.Callbacks Type for the callback on the (unwrapped) C side.
type
C_UnixFDSourceFunc = Int32 -> CUInt -> Ptr () -> IO CIntgi-glib GI.GLib.Callbacks Type for the callback on the (unwrapped) C side.
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
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