Search results
A representation for types with multiple constructors.
sum :: forall a f. Foldable f => Semiring a => f a -> a
Find the sum of the numeric values in a data structure.
sum :: forall a rep r. Generic a rep => GRouteDuplex rep r => Record r -> RouteDuplex' a
Builds a parser/printer from a record, where each record field corresponds to a constructor name for your data type.
Note: this implicitly inserts calls to end
for each constructor, making
the parser only valid for parsing URI suffixes. To parse URI prefixes, or
to just have more explicit control, use sumPrefix
.
sum :: forall s. Semiring s => Fold s s
A Fold
which computes the sum of its inputs
(generalized to work with an arbitrary Semiring
).
sum :: forall a. Semiring a => Vector a -> a
Sum vector elements
sum :: forall p a f. Semiring p => Foldable f => Functor f => f (Tuple a p) -> p
The sum of polynomial functors.
sum :: forall a i p rep r s. Generic a rep => GDualSum p s i rep r => Functor (p i) => Alt (p i) => Profunctor p => (forall x l. IsSymbol l => Proxy l -> Dual p s i x -> Dual p s i x) -> Record r -> Dual p s i a
sum :: forall a m e i rep r s. Monad m => Semigroup e => Generic a rep => GDualSum (Validator m e) s i rep r => (forall x l. IsSymbol l => Proxy l -> Dual (Validator m e) s i x -> Dual (Validator m e) s i x) -> Record r -> Dual (Validator m e) s i a
sum :: forall ri a. Sum ri a => Record ri -> Gen a
sum :: forall spec a. Sum spec a => Record spec -> Json -> Either JsonDecodeError a
sum :: forall sumSpec a. Sum sumSpec a => Record sumSpec -> (a -> Json)
sum :: forall d c b a. Iso (Sum a b) (Sum c d) (Either a b) (Either c d)
Iso between Sum and Either
Sum :: AggregationType
Sum :: PivotTableSummarizeFunction
sum :: Array HuffmanTree -> Number
sum :: forall eff. Histogram -> Eff (ref :: REF | eff) (Maybe Number)
Returns the sum of the measurements in the histogram. Returns 'Nothing' if there are no measurements.
sum :: forall eff. Timer -> Eff (ref :: REF | eff) (Maybe Number)
Returns the sum of the measurements in the timer.
sum :: forall b a. HasAdd b => HasReduce a => HasZero b => a b -> b
Adds all the elements of a container together. If the container is empty,
returns zero
.
[1, 2, 3] :sum -- 6
([] :: Array Int) :sum -- 0
["ab", "cd", "ef"] :sum -- "abcdef"
([] :: Array String) :sum -- ""
sum :: forall s. Semiring s => Fold s s
A Fold
which computes the sum of its inputs
(generalized to work with an arbitrary Semiring
).
sum :: forall r rep e m a. Monad m => Generic a rep => GDualSum (Validator m (Errors (JsonError e))) Json rep r => Record r -> JsonDual m e a
sum :: forall b a. UnaryOperator a b b
The Sum
of two comonads, which allows us to be in one state or the other
at a time, remembering the other state. We can also move from one state to
the other using the moveLeft
and moveRight
actions.
Sum :: forall f a g. Boolean -> (f a) -> (g a) -> Sum f g a
sum :: StringConst "sum"
sum :: forall x r. Semiring x => Run (Producer x r) Unit -> Run r x
Returns the sum of values yielded by a Producer.
sum :: forall a r. Arith a a a r => Array a -> a
sum :: forall a. Array a -> a
SumL :: forall a c b. (a c) -> Sum a b c
SumR :: forall b c a. (b c) -> Sum a b c
sum_ :: forall a s. Col s a -> Aggr s (Maybe String)
sumOf :: forall s t a b. Semiring a => Fold (Additive a) s t a b -> s -> a
The sum of all foci of a Fold
.
a + b = c
SumL_2 :: forall p a b q. (p a b) -> Sum_2 p q a b
SumR_2 :: forall q a b p. (q a b) -> Sum_2 p q a b
sumInl :: forall r b a. Prism (Sum a r) (Sum b r) a b
Prism into the Inl of Sum
sumInr :: forall b a l. Prism (Sum l a) (Sum l b) a b
Prism into the Inr of Sum
summary :: forall w i. Node HTMLsummary w i
summary :: Array Props -> Array ReactElement -> ReactElement
summary :: Array Props -> Array ReactElement -> ReactElement
summary :: String -> Props
summary :: forall e. Markup e -> Markup e
summary :: String -> Attribute
summary :: Selector
SumSize :: forall a. (Exists Size) -> (Exists Size) -> Size a
summary :: forall attrs attrs_. Union attrs attrs_ Props_summary => Record attrs -> JSX
summary :: forall attrsNoChildren attrsWithDuplicate attrs attrs_ jsx. Union attrs attrs_ Props_summary => ToJSX jsx => Union (children :: Array JSX) attrsNoChildren attrsWithDuplicate => Nub (children :: Array JSX | attrsNoChildren) attrs => Record attrsNoChildren -> jsx -> JSX
summary :: forall state. VNode state
summary :: forall a. String -> Prop a
Specifies a summary of the content of a table
summary :: ElemName
Defines a visible heading for a <details> element
summary :: forall html a. Html html => Array (Prop a) -> Array (html a) -> html a
Defines a visible heading for a <details> element
summary :: forall html a. Html html => Array (Prop a) -> Array (Key /\ (html a)) -> html a
Defines a visible heading for a <details> element
summary :: VNode
summary :: El
summary :: forall a. String -> ReactProps a
summary :: forall msg. Array (Attribute msg) -> Array (View msg) -> View msg
Summary :: Summary
summary :: forall lock payload. Event (Attribute Summary_) -> Array (Domable lock payload) -> Domable lock payload
summary :: forall m. Array (Prop m) -> Component m -> Component m
summary :: ElemFactory
summary :: Proxy @Symbol "summary"
summary :: MarkupT ~> MarkupT
A summary for a given details.
summary :: forall (props :: Row Type) (content :: Type). ReactChildren content => IsSubsetOf props (_data :: Object String, about :: String, acceptCharset :: String, accessKey :: String, allowFullScreen :: Boolean, allowTransparency :: Boolean, "aria-activedescendant" :: String, "aria-atomic" :: String, "aria-autocomplete" :: String, "aria-busy" :: String, "aria-checked" :: String, "aria-colcount" :: String, "aria-colindex" :: String, "aria-colspan" :: String, "aria-controls" :: String, "aria-current" :: String, "aria-describedby" :: String, "aria-details" :: String, "aria-disabled" :: String, "aria-dropeffect" :: String, "aria-errormessage" :: String, "aria-expanded" :: String, "aria-flowto" :: String, "aria-grabbed" :: String, "aria-haspopup" :: String, "aria-hidden" :: String, "aria-invalid" :: String, "aria-keyshortcuts" :: String, "aria-label" :: String, "aria-labelledby" :: String, "aria-level" :: String, "aria-live" :: String, "aria-modal" :: String, "aria-multiline" :: String, "aria-multiselectable" :: String, "aria-orientation" :: String, "aria-owns" :: String, "aria-placeholder" :: String, "aria-posinset" :: String, "aria-pressed" :: String, "aria-readonly" :: String, "aria-relevant" :: String, "aria-required" :: String, "aria-roledescription" :: String, "aria-rowcount" :: String, "aria-rowindex" :: String, "aria-rowspan" :: String, "aria-selected" :: String, "aria-setsize" :: String, "aria-sort" :: String, "aria-valuemax" :: String, "aria-valuemin" :: String, "aria-valuenow" :: String, "aria-valuetext" :: String, autoComplete :: Boolean, autoFocus :: Boolean, autoPlay :: Boolean, capture :: Boolean, cellPadding :: String, cellSpacing :: String, charSet :: String, classID :: String, className :: String, colSpan :: Int, contentEditable :: Boolean, contextMenu :: String, crossOrigin :: String, dangerouslySetInnerHTML :: { __html :: String }, datatype :: String, dateTime :: String, dir :: String, draggable :: Boolean, encType :: String, formAction :: String, formEncType :: String, formMethod :: String, formNoValidate :: Boolean, formTarget :: String, frameBorder :: String, hidden :: Boolean, hrefLang :: String, htmlFor :: String, httpEquiv :: String, icon :: String, id :: String, inlist :: String, inputMode :: String, is :: String, itemID :: String, itemProp :: String, itemRef :: String, itemScope :: Boolean, itemType :: String, key :: String, keyParams :: String, keyType :: String, lang :: String, marginHeight :: String, marginWidth :: String, maxLength :: Int, mediaGroup :: String, minLength :: Int, noValidate :: Boolean, onBlur :: EffectFn1 SyntheticEvent Unit, onClick :: EffectFn1 SyntheticEvent Unit, onDoubleClick :: EffectFn1 SyntheticEvent Unit, onFocus :: EffectFn1 SyntheticEvent Unit, onKeyDown :: EffectFn1 KeyboardEvent Unit, onKeyPress :: EffectFn1 KeyboardEvent Unit, onKeyUp :: EffectFn1 KeyboardEvent Unit, onMouseDown :: EffectFn1 MouseEvent Unit, onMouseEnter :: EffectFn1 MouseEvent Unit, onMouseLeave :: EffectFn1 MouseEvent Unit, onMouseMove :: EffectFn1 MouseEvent Unit, onMouseOut :: EffectFn1 MouseEvent Unit, onMouseOver :: EffectFn1 MouseEvent Unit, onMouseUp :: EffectFn1 MouseEvent Unit, onScroll :: EffectFn1 SyntheticEvent Unit, onTouchCancel :: EffectFn1 TouchEvent Unit, onTouchEnd :: EffectFn1 TouchEvent Unit, onTouchMove :: EffectFn1 TouchEvent Unit, onTouchStart :: EffectFn1 TouchEvent Unit, prefix :: String, property :: String, radioGroup :: String, readOnly :: Boolean, ref :: Ref HTMLElement, resource :: String, role :: String, role :: String, rowSpan :: Int, scoped :: Boolean, seamless :: Boolean, security :: String, spellCheck :: Boolean, srcDoc :: ReactElement, srcLang :: String, srcSet :: String, style :: CSS, suppressContentEditableWarning :: Boolean, tabIndex :: Int, title :: String, typeof :: String, unselectable :: Boolean, useMap :: String, vocab :: String, wmode :: String) => ValidReactProps (Record props) => Record props -> content -> ReactElement
summary :: forall (content :: Type). ReactChildren content => String -> content -> ReactElement
summary :: forall a b h. ToHtml a b h
summary :: forall attrs attrs_. Union attrs attrs_ (MotionProps + Props_summary) => ReactComponent (Record attrs)
summary :: ClassName
Summary of the distribution of the measurements in the histogram. Contains:
- min: minimum
- max: maximum
- sum: sum
- variance: variance
- mean: mean
- stdDev: standard deviation
- count: count
- median: median
- p75: 75th percentile
- p95: 95th percentile
- p99: 99th percentile
- p999: 99.9th percentile
Summary :: { count :: Int, max :: Maybe Number, mean :: Maybe Number, median :: Maybe Number, min :: Maybe Number, p75 :: Maybe Number, p95 :: Maybe Number, p99 :: Maybe Number, p999 :: Maybe Number, stdDev :: Maybe Number, sum :: Maybe Number, variance :: Maybe Number } -> Summary
Summary of the measurements in the meter. Contains:
- count: count
- m1: one minute rate
- m5: five minute rate
- m15: fifteen minute rate
- mean: mean rate
Summary :: { count :: Int, m1 :: Number, m15 :: Number, m5 :: Number, mean :: Number } -> Summary
Summary of the measurements in the meter. Contains:
- duration: the summary of the underlying event duration histogram.
- rate: the summary of the underlying event rate meter.
Summary :: { duration :: Summary, rate :: Summary } -> Summary
summary :: forall e. Markup e -> Markup e
summary :: String -> Attribute
summary :: forall f e. Traversable f => f (VDom e) -> VDom e
summary :: forall f e. Traversable f => f (VDom e) -> VDom e
summary :: StaticElement
summary :: String -> StaticProperty
summary :: FFIComponent SummaryProps
The <summary>
HTML element is used as a summary, caption, or legend for the content of a <details>
element.
Example:
details {}
[ summary {} "Summary text goes here."
, text "The long version of the details goes here."
]
summary :: Free SpaceF Unit -> Free SpaceF Unit
summary :: Free SpaceF Unit -> Free SpaceF Unit
summary :: forall st eff. String -> Props eff st
summary :: forall st eff. Array (Props eff st) -> Array (Component eff st) -> Component eff st
summary :: forall o i context channel. Array (Attr context i) -> Array (Handler context (Either channel (i -> o))) -> Array (SDOM channel context i o) -> SDOM channel context i o
summary :: forall i. Node HTMLsummary i
summary :: FFIComponent SummaryProps
The <summary>
HTML element is used as a summary, caption, or legend for the content of a <details>
element.
Example:
details {}
[ summary {} "Summary text goes here."
, text "The long version of the details goes here."
]
SumTree :: { children :: Array { deepSingletons :: Array (DataPathSegment /\ TreeMeta), key :: DataPathSegment, tree :: SumTree }, meta :: TreeMeta } -> SumTree
sumTree :: forall srf msg. DataTree srf msg -> Maybe { deepSingletons :: Array (DataPathSegment /\ TreeMeta), tree :: SumTree }
summary_ :: forall w i. Array (HTML w i) -> HTML w i
summary' :: Array ReactElement -> ReactElement
summary' :: Array ReactElement -> ReactElement