mirror of
https://github.com/github/semantic.git
synced 2025-01-03 21:16:12 +03:00
Give default definitions for &> and <&.
This commit is contained in:
parent
22177b0940
commit
340a58e44e
@ -8,5 +8,7 @@ class Alternative f => Conjunctive f where
|
||||
(<&>) :: f (a -> b) -> f a -> f b
|
||||
|
||||
(<&) :: f a -> f b -> f a
|
||||
a <& b = const <$> a <&> b
|
||||
|
||||
(&>) :: f a -> f b -> f b
|
||||
a &> b = identity <$ a <&> b
|
||||
|
Loading…
Reference in New Issue
Block a user