Hoogle Search
Within LTS Haskell 24.69 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
data
IsSuffixOf (b :: [a]) (c :: [a]) (d :: Bool)first-class-families Fcf.Data.List Return True when the first list is a suffix of the second.
Example
>>> :kind! Eval (IsSuffixOf [3,4,5] [0,1,2,3,4,5]) Eval (IsSuffixOf [3,4,5] [0,1,2,3,4,5]) :: Bool = True
>>> :kind! Eval (IsSuffixOf [3,4,5] [0,1,3,2,4,5]) Eval (IsSuffixOf [3,4,5] [0,1,3,2,4,5]) :: Bool = False
>>> :kind! Eval (IsSuffixOf '[] [0,1,3,2,4,5]) Eval (IsSuffixOf '[] [0,1,3,2,4,5]) :: Bool = True
>>> :kind! Eval (IsSuffixOf [0,1,3,2,4,5] '[]) Eval (IsSuffixOf [0,1,3,2,4,5] '[]) :: Bool = False
fixedF :: Real a => Int -> a -> Builderfmt Fmt Format a floating-point number without scientific notation:
>>> listF' (fixedF 5) [pi,0.1,10] "[3.14159, 0.10000, 10.00000]"
prefixF :: Buildable a => Int -> a -> Builderfmt Fmt Take the first N characters:
>>> prefixF 3 "hello" "hel"
suffixF :: Buildable a => Int -> a -> Builderfmt Fmt Take the last N characters:
>>> suffixF 3 "hello" "llo"
prefixF :: Buildable a => Int -> a -> Builderfmt Fmt.Internal.Formatters Take the first N characters:
>>> prefixF 3 "hello" "hel"
suffixF :: Buildable a => Int -> a -> Builderfmt Fmt.Internal.Formatters Take the last N characters:
>>> suffixF 3 "hello" "llo"
fixedF :: Real a => Int -> a -> Builderfmt Fmt.Internal.Numeric Format a floating-point number without scientific notation:
>>> listF' (fixedF 5) [pi,0.1,10] "[3.14159, 0.10000, 10.00000]"
AnotherSubpixelOrder :: Int -> SubpixelOrdergi-cairo GI.Cairo.Enums Catch-all for unknown values
AntialiasSubpixel :: Antialiasgi-cairo GI.Cairo.Enums No description available in the introspection data.
-
gi-cairo GI.Cairo.Enums No description available in the introspection data.