Hoogle Search
Within LTS Haskell 24.58 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
showbFixed :: HasResolution a => Bool -> Fixed a -> Buildertext-show TextShow.Data.Fixed Convert a Fixed value to a Builder, where the first argument indicates whether to chop off trailing zeroes. Since: 2
-
text-show TextShow.Data.Floating Standard decimal notation.
-
th-desugar Language.Haskell.TH.Desugar True if a constructor is declared infix. For normal ADTs, this means that is was written in infix style. For example, both of the constructors below are declared infix.
data Infix = Int Infix Int | Int :*: Int
Whereas neither of these constructors are declared infix:data Prefix = Prefix Int Int | (:+:) Int Int
For GADTs, detecting whether a constructor is declared infix is a bit trickier, as one cannot write a GADT constructor "infix-style" like one can for normal ADT constructors. GHC considers a GADT constructor to be declared infix if it meets the following three criteria:- Its name uses operator syntax (e.g., (:*:)).
- It has exactly two fields (without record syntax).
- It has a programmer-specified fixity declaration.
infixl 5 :**:, :&&:, :^^:, ActuallyPrefix data InfixGADT a where (:**:) :: Int -> b -> InfixGADT (Maybe b) -- Only this one is infix ActuallyPrefix :: Char -> Bool -> InfixGADT Double (:&&:) :: { infixGADT1 :: b, infixGADT2 :: Int } -> InfixGADT b :: Int -> Int -> Int -> InfixGADT Int (:!!:) :: Char -> Char -> InfixGADT CharOnly the (:**:) constructor is declared infix. The other constructors are not declared infix, because:- ActuallyPrefix does not use operator syntax (criterion 1).
- (:&&:) uses record syntax (criterion 2).
- (:^^:) does not have exactly two fields (criterion 2).
- (:!!:) does not have a programmer-specified fixity declaration (criterion 3).
DInfixD :: Fixity -> NamespaceSpecifier -> Name -> DLetDecth-desugar Language.Haskell.TH.Desugar No documentation available.
InfixPatSyn :: Name -> Name -> PatSynArgsth-desugar Language.Haskell.TH.Desugar pattern {x P y} = pPrefixPatSyn :: [Name] -> PatSynArgsth-desugar Language.Haskell.TH.Desugar pattern P {x y z} = preifyFixityWithLocals :: DsMonad q => Name -> q (Maybe Fixity)th-desugar Language.Haskell.TH.Desugar Like reifyWithLocals_maybe, but for fixities. Note that a return value of Nothing might mean that the name is not in scope, or it might mean that the name has no assigned fixity. (Use reifyWithLocals_maybe if you really need to tell the difference.)
-
webdriver Test.WebDriver No documentation available.
-
webdriver Test.WebDriver.Capabilities No documentation available.
-
webdriver Test.WebDriver.Types No documentation available.