Skip to content

Commit 341e903

Browse files
authored
Fix reindexed to accommodate change in operator precedence (v0.15) (#139)
1 parent 0aff606 commit 341e903

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ New features:
1010
- Add `sans` and `both` (#97 by @xgrommx)
1111

1212
Bugfixes:
13+
- Fix broken `reindex` for v0.15 due to [Purescript PR #4033](https://github.com/purescript/purescript/pull/4033)
1314

1415
Other improvements:
1516
- Added `purs-tidy` formatter (#138 by @thomashoneyman)

src/Data/Lens/Indexed.purs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ reindexed
3737
-> (Indexed p i a b -> r)
3838
-> Indexed p j a b
3939
-> r
40-
reindexed ij = (_ <<< _Newtype %~ lcmap (first ij))
40+
reindexed ij = (_ <<< (_Newtype %~ lcmap (first ij)))
4141

4242
-- | Converts a `lens`-like indexed traversal to an `IndexedTraversal`.
4343
iwander

0 commit comments

Comments
 (0)