Hoogle Search
Within LTS Haskell 24.62 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
setObjectPropertyCallback :: GObject a => a -> String -> FunPtr b -> IO ()haskell-gi-base Data.GI.Base.Properties No documentation available.
type family
AttrAllowedOps info :: [AttrOpTag]haskell-gi-base Data.GI.Base.ShortPrelude The operations that are allowed on the attribute.
type family
AttrOpAllowed (tag :: AttrOpTag) info useTypehaskell-gi-base Data.GI.Base.ShortPrelude Whether a given AttrOpTag is allowed on an attribute, given the info type.
type family
HaskellCallbackType infohaskell-gi-base Data.GI.Base.ShortPrelude The type for the signal handler.
callocBoxedBytes :: GBoxed a => Int -> IO (Ptr a)haskell-gi-base Data.GI.Base.Utils Make a zero filled allocation of n bytes for a boxed object. The difference with a normal callocBytes is that the returned memory is allocated using whatever memory allocator g_boxed_copy uses, which in particular may well be different from a plain g_malloc. In particular g_slice_alloc is often used for allocating boxed objects, which are then freed using g_slice_free.
callocBytes :: Int -> IO (Ptr a)haskell-gi-base Data.GI.Base.Utils Make a zero-filled allocation using the GLib allocator.
callocMem :: Storable a => IO (Ptr a)haskell-gi-base Data.GI.Base.Utils Make a zero-filled allocation of enough size to hold the given Storable type, using the GLib allocator.
sortNaturallyBy :: (a -> (String, Int)) -> [a] -> [a]hspec-discover Test.Hspec.Discover.Sort No documentation available.
iall :: FoldableWithIndex i f => (i -> a -> Bool) -> f a -> Boolindexed-traversable Data.Foldable.WithIndex Return whether or not all elements in a container satisfy a predicate, with access to the index i. When you don't need access to the index then all is more flexible in what it accepts.
all ≡ iall . const
-
A property-based testing library As of 2023, this library is largely obsolete: arbitrary test generators with shrinking such as falsify offer much better user experience. SmallCheck is a testing library that allows to verify properties for all test cases up to some depth. The test cases are generated automatically by SmallCheck.