Skip to content

Commit 135ccc2

Browse files
committed
Fix shadowed name warning
1 parent d3b0ab0 commit 135ccc2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Data/Array.purs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -498,7 +498,7 @@ span p = go []
498498
go :: Array a -> Array a -> { init :: Array a, rest :: Array a }
499499
go acc xs =
500500
case uncons xs of
501-
Just { head: x, tail: xs } | p x -> go (x : acc) xs
501+
Just { head: x, tail: xs' } | p x -> go (x : acc) xs'
502502
_ -> { init: reverse acc, rest: xs }
503503

504504
-- | Group equal, consecutive elements of an array into arrays.

0 commit comments

Comments
 (0)