Skip to content

Commit 3159f7e

Browse files
authored
Merge pull request #80 from purescript/shadow-fix
Shadow fix
2 parents d3b0ab0 + f9020cd commit 3159f7e

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
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

76
Utility functions for the `Array` type - JavaScript's native arrays.
87

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)