Skip to content

Commit f27a18a

Browse files
authored
Merge pull request #62 from liyishuai/assoc
Make <$> and <*> left associative
2 parents c0c934c + 15900db commit f27a18a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

theories/Structures/Applicative.v

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Polymorphic Class Applicative@{d c} (T : Type@{d} -> Type@{c}) :=
1313
}.
1414

1515
Module ApplicativeNotation.
16-
Notation "f <*> x" := (ap f x) (at level 51, right associativity).
16+
Notation "f <*> x" := (ap f x) (at level 51, left associativity).
1717
End ApplicativeNotation.
1818
Import ApplicativeNotation.
1919

theories/Structures/Functor.v

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,5 +26,5 @@ Polymorphic Definition PFunctor_From_Functor@{d c p}
2626
Global Existing Instance PFunctor_From_Functor.
2727

2828
Module FunctorNotation.
29-
Notation "f <$> x" := (@pfmap _ _ _ _ _ f x) (at level 51, right associativity).
29+
Notation "f <$> x" := (@pfmap _ _ _ _ _ f x) (at level 51, left associativity).
3030
End FunctorNotation.

0 commit comments

Comments
 (0)