Hoogle Search
Within LTS Haskell 24.28 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
-
reflex-dom-core Reflex.Dom.Builder.Static No documentation available.
-
registry Data.Registry.Internal.Dot We need to process the node descriptions - we add quotes arountd the text - we remove quotes (") inside the text - we escape newlines
-
row-types Data.Row A pattern for variants; can be used to both destruct a variant when in a pattern position or construct one in an expression position.
-
row-types Data.Row.Variants A pattern for variants; can be used to both destruct a variant when in a pattern position or construct one in an expression position.
fromJust :: SymVal a => SMaybe a -> SBV asbv Data.SBV.Maybe Return the value of an optional value. The behavior is undefined if passed Nothing, i.e., it can return any value. Compare to fromMaybe.
>>> fromJust (sJust (literal 'a')) 'a' :: SChar >>> prove $ \x -> fromJust (sJust x) .== (x :: SChar) Q.E.D. >>> sat $ \x -> x .== (fromJust sNothing :: SChar) Satisfiable. Model: s0 = 'A' :: Char
Note how we get a satisfying assignment in the last case: The behavior is unspecified, thus the SMT solver picks whatever satisfies the constraints, if there is one.isJust :: SymVal a => SMaybe a -> SBoolsbv Data.SBV.Maybe Check if the symbolic value is not nothing.
>>> isJust (sNothing :: SMaybe Integer) False >>> isJust (sJust (literal "yep")) True >>> prove $ \x -> isJust (sJust (x :: SInteger)) Q.E.D.
sJust :: SymVal a => SBV a -> SMaybe asbv Data.SBV.Maybe Construct an SMaybe a from an SBV a.
>>> sJust (3 :: SInteger) Just 3 :: SMaybe Integer
weekendJustOver :: IO OptimizeResultsbv Documentation.SBV.Examples.Optimization.Enumerate Using optimization, find the first day after the weekend. We have:
>>> weekendJustOver Optimal model: weekendJustOver = Mon :: Day DayAsWord8(first-day) = 0 :: Word8 first-day = Mon :: Day
-
simple-pango Graphics.Pango.Basic.LayoutObjects.PangoLayout No documentation available.
-
simple-pango Graphics.Pango.Basic.LayoutObjects.PangoLayout.Internal No documentation available.