From f39d9cb2e343b00fdf3bc7e9b2b59bbe6b8e5862 Mon Sep 17 00:00:00 2001 From: Marco Perone Date: Wed, 27 Sep 2023 10:31:17 +0200 Subject: [PATCH] list concatenation monoid should not invert arguments --- src/Instances/ListL/ConcatenationMonoid.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Instances/ListL/ConcatenationMonoid.php b/src/Instances/ListL/ConcatenationMonoid.php index 6122282..8187c53 100644 --- a/src/Instances/ListL/ConcatenationMonoid.php +++ b/src/Instances/ListL/ConcatenationMonoid.php @@ -29,6 +29,6 @@ public function mempty(): array */ public function append($a, $b) { - return array_merge($b, $a); + return array_merge($a, $b); } }