summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabrielGonzalez <>2017-09-03 02:12:00 (GMT)
committerhdiff <hdiff@hdiff.luite.com>2017-09-03 02:12:00 (GMT)
commita9b198868965c5bd743e12de546e27f1bf792a02 (patch)
tree1af74b3e106d31cbae74f73b737681dafdc2eb53
parentb24533225828b9246617b100f62877d9668c05e0 (diff)
version 1.3.11.3.1
-rw-r--r--CHANGELOG.md4
-rw-r--r--README.md2
-rw-r--r--foldl.cabal4
-rw-r--r--src/Control/Foldl.hs2
4 files changed, 8 insertions, 4 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 9671413..9841200 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,3 +1,7 @@
+1.3.1
+
+* BUG FIX: `asin` now correctly delegates to `fmap asin` and not `fmap sin`
+
1.3.0
* BREAKING CHANGE: Change `vector` to be a pure `Fold` (which is faster, too!)
diff --git a/README.md b/README.md
index 9f7fbe8..3d16178 100644
--- a/README.md
+++ b/README.md
@@ -1,4 +1,4 @@
-# `foldl` v1.3.0
+# `foldl` v1.3.1
Use this `foldl` library when you want to compute multiple folds over a
collection in one pass over the data without space leaks.
diff --git a/foldl.cabal b/foldl.cabal
index 630f84b..c5c9c01 100644
--- a/foldl.cabal
+++ b/foldl.cabal
@@ -1,5 +1,5 @@
Name: foldl
-Version: 1.3.0
+Version: 1.3.1
Cabal-Version: >=1.8.0.2
Build-Type: Simple
License: BSD3
@@ -32,7 +32,7 @@ Library
text >= 0.11.2.0 && < 1.3 ,
transformers >= 0.2.0.0 && < 0.6 ,
vector >= 0.7 && < 0.13,
- containers < 0.6 ,
+ containers >= 0.5.0.0 && < 0.6 ,
unordered-containers < 0.3 ,
hashable < 1.3 ,
contravariant < 1.5 ,
diff --git a/src/Control/Foldl.hs b/src/Control/Foldl.hs
index 1e9c3cd..4dcfb62 100644
--- a/src/Control/Foldl.hs
+++ b/src/Control/Foldl.hs
@@ -418,7 +418,7 @@ instance (Monad m, Floating b) => Floating (FoldM m a b) where
cos = fmap cos
{-# INLINE cos #-}
- asin = fmap sin
+ asin = fmap asin
{-# INLINE asin #-}
atan = fmap atan