A sum of products.
This is a newtype for an NS of an NP. The elements of the
(inner) products are applications of the parameter f. The type
SOP is indexed by the list of lists that determines the sizes
of both the (outer) sum and all the (inner) products, as well as
the types of all the elements of the inner products.
A SOP I reflects the structure of a normal Haskell datatype.
The sum structure represents the choice between the different
constructors, the product structure represents the arguments of
each constructor.
Instances17HTrans, HAp, HApInjs, HCollapse, HExpand, HIndex, …
HTrans SOP SOPDefined in sop-core-0.5.0.2 · Data.SOP.NSHAp SOPDefined in sop-core-0.5.0.2 · Data.SOP.NSHApInjs SOPDefined in sop-core-0.5.0.2 · Data.SOP.NSHCollapse SOPDefined in sop-core-0.5.0.2 · Data.SOP.NSHExpand SOPDefined in sop-core-0.5.0.2 · Data.SOP.NSHIndex SOPDefined in sop-core-0.5.0.2 · Data.SOP.NSHSequence SOPDefined in sop-core-0.5.0.2 · Data.SOP.NSHTraverse_ SOPDefined in sop-core-0.5.0.2 · Data.SOP.NSEq (NS (NP f) xss) => Eq (SOP f xss)Defined in sop-core-0.5.0.2 · Data.SOP.NSOrd (NS (NP f) xss) => Ord (SOP f xss)Defined in sop-core-0.5.0.2 · Data.SOP.NSShow (NS (NP f) xss) => Show (SOP f xss)Defined in sop-core-0.5.0.2 · Data.SOP.NSNFData (NS (NP f) xss) => NFData (SOP f xss)Defined in sop-core-0.5.0.2 · Data.SOP.NStype CollapseTo SOP a = [a]Defined in sop-core-0.5.0.2 · Data.SOP.NStype Prod SOP = POPDefined in sop-core-0.5.0.2 · Data.SOP.NStype AllN SOP c = All2 cDefined in sop-core-0.5.0.2 · Data.SOP.NStype Same SOP = SOPDefined in sop-core-0.5.0.2 · Data.SOP.NStype SListIN SOP = SListI2Defined in sop-core-0.5.0.2 · Data.SOP.NS