File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change 1
1
# purescript-arrays
2
2
3
- [ ![ Latest release] ( http://img.shields.io/bower/v/purescript-arrays.svg )] ( https://github.com/purescript/purescript-arrays/releases )
4
- [ ![ Build Status] ( https://travis-ci.org/purescript/purescript-arrays.svg?branch=master )] ( https://travis-ci.org/purescript/purescript-arrays )
5
- [ ![ Dependency Status] ( https://www.versioneye.com/user/projects/55848c27363861001d000328/badge.svg?style=flat )] ( https://www.versioneye.com/user/projects/55848c27363861001d000328 )
3
+ [ ![ Latest release] ( http://img.shields.io/github/release/purescript/purescript-arrays.svg )] ( https://github.com/purescript/purescript-arrays/releases )
4
+ [ ![ Build status] ( https://travis-ci.org/purescript/purescript-arrays.svg?branch=master )] ( https://travis-ci.org/purescript/purescript-arrays )
6
5
7
6
Utility functions for the ` Array ` type - JavaScript's native arrays.
8
7
Original file line number Diff line number Diff line change @@ -498,7 +498,7 @@ span p = go []
498
498
go :: Array a -> Array a -> { init :: Array a , rest :: Array a }
499
499
go acc xs =
500
500
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'
502
502
_ -> { init: reverse acc, rest: xs }
503
503
504
504
-- | Group equal, consecutive elements of an array into arrays.
You can’t perform that action at this time.
0 commit comments