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 11# purescript-arrays
22
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 )
65
76Utility functions for the ` Array ` type - JavaScript's native arrays.
87
Original file line number Diff line number Diff 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.
You can’t perform that action at this time.
0 commit comments