Skip to content

Commit

Permalink
Edit changelog for scan1 [] (#382)
Browse files Browse the repository at this point in the history
Added a changelog entry for the legalization of scanl1/scanr1 []
(which is introduced in #382)
as one of 0.13 changes.
  • Loading branch information
gksato committed May 23, 2021
1 parent 3161cdb commit 5da3d25
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions vector/changelog.md
Expand Up @@ -35,6 +35,14 @@
`Data.Vector.Storable{.Mutable}` to allow this (the onus is on the user
to ensure that no `Storable` invariants are broken when using these
functions).
* The functions `scanl1`, `scanl1'`, `scanr1`, and `scanr1'` for immutable
vectors are now defined when given empty vectors as arguments,
in which case they return empty vectors. This new behavior is consistent
with the one of the corresponding functions in `Data.List`.
Prior to this change, applying an empty vector to any of those functions
resulted in an error. This change was introduced in:
[#382](https://github.com/haskell/vector/pull/382)


# Changes in version 0.12.3.0

Expand Down

0 comments on commit 5da3d25

Please sign in to comment.