aboutsummaryrefslogtreecommitdiff
path: root/theories/Program
diff options
context:
space:
mode:
Diffstat (limited to 'theories/Program')
-rw-r--r--theories/Program/Basics.v4
1 files changed, 2 insertions, 2 deletions
diff --git a/theories/Program/Basics.v b/theories/Program/Basics.v
index d6c276d16a..1129c5b65e 100644
--- a/theories/Program/Basics.v
+++ b/theories/Program/Basics.v
@@ -21,11 +21,11 @@ Definition id {A} := fun x : A => x.
(** Function composition. *)
-Definition compose {A B C} (f : A -> B) (g : B -> C) := fun x : A => g (f x).
+Definition compose {A B C} (g : B -> C) (f : A -> B) := fun x : A => g (f x).
Hint Unfold compose.
-Notation " g ∘ f " := (compose f g) (at level 50, left associativity) : program_scope.
+Notation " g ∘ f " := (compose g f) (at level 50, left associativity) : program_scope.
Open Local Scope program_scope.