(C) 2011-2016 Edward Kmett BSD-style (see the file LICENSE)Edward Kmett <ekmett@gmail.com> provisionalportableSafe4KL distribute derived from a   type%This can be used to easily produce a  Distributive instance for a type with a   instance, tdata V2 a = V2 a a deriving (Show, Functor, Generic1) instance Distributive V2' where distribute = genericDistribute   (C) 2011-2016 Edward Kmett BSD-style (see the file LICENSE)Edward Kmett <ekmett@gmail.com> provisionalportableSafe4 This is the categorical dual of ._Due to the lack of non-trivial comonoids in Haskell, we can restrict ourselves to requiring a < rather than some Coapplicative class. Categorically every 9 functor is actually a right adjoint, and so it must be  Representablek endofunctor and preserve all limits. This is a fancy way of saying it isomorphic to `(->) x` for some x.Minimal complete definition:  or NTo be distributable a container will need to have a way to consistently zip a potentially infinite number of copies of itself. This effectively means that the holes in all values of that type, must have the same cardinality, fixed sized vectors, infinite streams, functions, etc. and no extra information to try to merge together. The dual of distribute [(+1),(+2)] 1[2,3]  =    f =  .  f The dual of   =   .  .   =  .  f The dual of   f =  f .   The dual of    f =  f .   !"#$%    !"#$%&      ! "#$%&'()*+,-./012distr_8h2yfZSofJy3ytSpMEPeCBData.Distributive.GenericData.DistributiveData.Traversable sequenceAsequencetraversemapM GDistributive gdistributegenericDistribute Distributive distributecollect distributeMcollectM cotraversecomapMbase GHC.GenericsGeneric1$fGDistributiveM1$fGDistributiveRec1$fGDistributivePar1$fGDistributive:.:$fGDistributive:*:$fGDistributiveU1 TraversableGHC.BaseFunctoridfmapControl.Applicative unwrapMonad WrapMonadliftM$fDistributiveComplex$fDistributiveSum$fDistributiveProduct$fDistributiveDual$fDistributiveReverse$fDistributiveBackwards$fDistributiveProduct0$fDistributiveCompose$fDistributiveIdentityT$fDistributiveReaderT$fDistributive(->)$fDistributiveTagged$fDistributiveProxy$fDistributiveIdentity