Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions src/Data/Profunctor/Distributor.hs
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ import Data.Proxy
import Data.Sequence (Seq)
import Data.String
import Data.Tagged
import Data.Tree (Tree (..))
import Data.Vector (Vector)
import Data.Void
import GHC.Generics
Expand Down Expand Up @@ -401,6 +402,8 @@ instance Homogeneous Seq where
homogeneously p = mapIso listEot (oneP >+< p >*< homogeneously p)
instance Homogeneous Complex where
homogeneously p = dimap2 realPart imagPart (:+) p p
instance Homogeneous Tree where
homogeneously p = dimap2 rootLabel subForest Node p (manyP (homogeneously p))

-- Alternator/Filtrator --

Expand Down
Loading