summaryrefslogtreecommitdiff
path: root/src/Hakyll/Core/Util/Arrow.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Hakyll/Core/Util/Arrow.hs')
-rw-r--r--src/Hakyll/Core/Util/Arrow.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Hakyll/Core/Util/Arrow.hs b/src/Hakyll/Core/Util/Arrow.hs
index 1896e11..f46d083 100644
--- a/src/Hakyll/Core/Util/Arrow.hs
+++ b/src/Hakyll/Core/Util/Arrow.hs
@@ -16,9 +16,9 @@ constA = arr . const
sequenceA :: Arrow a
=> [a b c]
-> a b [c]
-sequenceA = foldl reduce $ constA []
+sequenceA = foldr reduce $ constA []
where
- reduce la xa = xa &&& la >>^ arr (uncurry (:))
+ reduce xa la = xa &&& la >>^ arr (uncurry (:))
unitA :: Arrow a
=> a b ()