Commit a1126bac authored by Ben Gamari's avatar Ben Gamari 🐢 Committed by Marge Bot

base: Fix order of infix declarations in Data.Functor

As pointed in #19284, previously the order was a bit confusing.
This didn't affect the meaning but nevertheless it's much clearer now.

Closes #19284.
parent ecf967c2
......@@ -96,7 +96,7 @@ infixl 4 <$>
(<$>) :: Functor f => (a -> b) -> f a -> f b
(<$>) = fmap
infixl 4 $>
infixl 1 <&>
-- | Flipped version of '<$>'.
--
......@@ -121,7 +121,7 @@ infixl 4 $>
(<&>) :: Functor f => f a -> (a -> b) -> f b
as <&> f = f <$> as
infixl 1 <&>
infixl 4 $>
-- | Flipped version of '<$'.
--
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment