Skip to content
Open
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
4 changes: 2 additions & 2 deletions Control/Type/Operator.hs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ infixr 5 ^>
type (<^) a b = (^>) b a
infixr 5 <^

-- | Infix application.
-- | Infix application.5
--
-- @
-- f :: Either String $ Maybe Int
Expand Down Expand Up @@ -94,7 +94,7 @@ infixl 9 <=>
-- @
type family (<+>) (a :: k1) (b :: k2) :: Constraint
type instance (<+>) _ [] = (() :: Constraint)
type instance (<+>) [] _ = (() :: Constraint)
-- type instance (<+>) [] _ = (() :: Constraint)
type instance (<+>) (c ': cs) (a :: Type) = (c a, a <+> cs)
type instance (<+>) c (a ': as) = (c a, c <+> as)
infixl 9 <+>
Expand Down