Product -is:module

Lifted product of functors.

Examples

>>> fmap (+1) (Pair [1, 2, 3] (Just 0))
Pair [2,3,4] (Just 1)
>>> Pair "Hello, " (Left 'x') <> Pair "World" (Right 'y')
Pair "Hello, World" (Right 'y')
Monoid under multiplication.
Product x <> Product y == Product (x * y)

Examples

>>> Product 3 <> Product 4 <> mempty
Product {getProduct = 12}
>>> mconcat [ Product n | n <- [2 .. 10]]
Product {getProduct = 3628800}
Form the product of two bifunctors
Monoid under multiplication.
>>> getProduct (Product 3 <> Product 4 <> mempty)
12
Matrix product and related functions
Monoid under multiplication.
>>> getProduct (Product 3 <> Product 4 <> mempty)
12
Monoid under multiplication.
>>> getProduct (Product 3 <> Product 4 <> mempty)
12
A wrapper for an Multiplicative which distinguishes the multiplicative structure
Product of field values to be used in an aggregate operation. This was added in Vega-Lite 4.6.0.
Lifted product of functors.
An extensible product type. This is similar to Union, except a product type instead of a sum type.
PRODUCT Corresponds to the `PRODUCT` function.
A product is segment of inventory that a seller wishes to sell. It is associated with certain terms and targeting information which helps buyer know more about the inventory. Each field in a product can have one of the following setting: (readonly) - It is an error to try and set this field. (buyer-readonly) - Only the seller can set this field. (seller-readonly) - Only the buyer can set this field. (updatable) - The field is updatable at all times by either buyer or the seller. See: product smart constructor.
A Products resource represents an app in the Google Play store that is available to at least some users in the enterprise. (Some apps are restricted to a single enterprise, and no information about them is made available outside that enterprise.) The information provided for each product (localized name, icon, link to the full Google Play details page) is intended to allow a basic representation of the product within an EMM user interface. See: product smart constructor.
Product data. After inserting, updating, or deleting a product, it may take several minutes before changes take effect. See: product smart constructor.
A Product contains ReferenceImages. See: newProduct smart constructor.
The product function computes the product of the numbers of a structure.

Examples

Basic usage:
>>> product []
1
>>> product [42]
42
>>> product [1..10]
3628800
>>> product [4.1, 2.0, 1.7]
13.939999999999998
>>> product [1..]
* Hangs forever *
The product function computes the product of a finite list of numbers.
>>> product []
1

>>> product [42]
42

>>> product [1..10]
3628800

>>> product [4.1, 2.0, 1.7]
13.939999999999998

>>> product [1..]
* Hangs forever *