Hoogle Search
Within LTS Haskell 24.51 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
endsJust_ :: Show a => IO (Maybe a) -> IO ()benri-hspec Test.Hspec.Benri endsJust_ action sets the expectation that action returns Just a.
Example
>>> endsJust_ $ pure (readMaybe "1" :: Maybe Int)
-
cabal-install-solver Distribution.Solver.Compat.Prelude The isJust function returns True iff its argument is of the form Just _.
Examples
Basic usage:>>> isJust (Just 3) True
>>> isJust (Just ()) True
>>> isJust Nothing False
Only the outer constructor is taken into consideration:>>> isJust (Just Nothing) True
fromJustX :: (HasCallStack, NFDataX a) => Maybe a -> aclash-prelude Clash.XException Same as fromJust, but returns a bottom/undefined value that other Clash constructs are aware of.
adjust :: (a -> a) -> Int -> [a] -> [a]fft Math.FFT.Base A generally useful list utility
data
IJust (a :: Maybe k) (b :: k)functor-products Data.Type.Functor.Product Witness an item in a type-level Maybe by proving the Maybe is Just.
data
SIJust (as :: Maybe k) (a :: k) (b :: IJust as a)functor-products Data.Type.Functor.Product Kind-indexed singleton for IJust.
adjustDeltaForOffset :: LayoutStartCol -> DeltaPos -> DeltaPosghc-exactprint Language.Haskell.GHC.ExactPrint.Utils No documentation available.
type
C_WidgetClassAdjustBaselineAllocationFieldCallback = Ptr Widget -> Int32 -> IO ()gi-gtk3 GI.Gtk.Callbacks Type for the callback on the (unwrapped) C side.
type
C_WidgetClassAdjustBaselineRequestFieldCallback = Ptr Widget -> Int32 -> Int32 -> IO ()gi-gtk3 GI.Gtk.Callbacks Type for the callback on the (unwrapped) C side.
-
gi-gtk3 GI.Gtk.Callbacks Type for the callback on the (unwrapped) C side.