Hoogle Search
Within LTS Haskell 24.6 (ghc-9.10.2)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
-
numeric-prelude MathObj.PowerSum No documentation available.
-
numeric-prelude NumericPrelude Sum up all elements of a non-empty list. This avoids including a zero which is useful for types where no universal zero is available. ToDo: Should have NonEmpty type.
\(QC.NonEmpty ns) -> A.sum ns == (A.sum1 ns :: Integer)
-
numeric-prelude NumericPrelude.Numeric Sum up all elements of a non-empty list. This avoids including a zero which is useful for types where no universal zero is available. ToDo: Should have NonEmpty type.
\(QC.NonEmpty ns) -> A.sum ns == (A.sum1 ns :: Integer)
summary :: HasSummary s a => Lens' s aswagger2 Data.Swagger.Lens No documentation available.
sumAdtDec :: Name -> [(Name, [Type])] -> Decth-lego THLego.Helpers No documentation available.
sumCon :: Name -> [Type] -> Conth-lego THLego.Helpers No documentation available.
sumAccessorIsLabel :: TyLit -> Type -> Name -> [Type] -> Decth-lego THLego.Instances instance (a ~ Maybe Text) => IsLabel "error" (Result -> a)
sumConstructorIsLabel :: TyLit -> Type -> Name -> [Type] -> Decth-lego THLego.Instances No documentation available.
sumHasField :: TyLit -> Type -> Name -> [Type] -> Decth-lego THLego.Instances Instance of HasField for a constructor of a sum ADT, projecting it into a Maybe tuple of its members. Generates code of the following pattern:
instance HasField "fieldLabel" sumAdt (Maybe projectionType)
- When the amount of member types is 0, projectionType is ().
- When the amount of member types is 1, it is that member type.
- Otherwise it is a tuple of those members.
sumMapperIsLabel :: TyLit -> Type -> Name -> [Type] -> Decth-lego THLego.Instances Template of IsLabel for instances mapping to mapper functions.
instance (mapper ~ (Int -> Text -> (Int, Text))) => IsLabel "error" (mapper -> Result -> Result)