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-foreign
22
3- [ ![ Latest release] ( http://img.shields.io/bower/v/purescript-foreign.svg )] ( https://github.com/purescript/purescript-foreign/releases )
4- [ ![ Build Status] ( https://travis-ci.org/purescript/purescript-foreign.svg?branch=master )] ( https://travis-ci.org/purescript/purescript-foreign )
5- [ ![ Dependency Status] ( https://www.versioneye.com/user/projects/55848c14363861001d00030e/badge.svg?style=flat )] ( https://www.versioneye.com/user/projects/55848c14363861001d00030e )
3+ [ ![ Latest release] ( http://img.shields.io/github/release/purescript/purescript-foreign.svg )] ( https://github.com/purescript/purescript-foreign/releases )
4+ [ ![ Build status] ( https://travis-ci.org/purescript/purescript-foreign.svg?branch=master )] ( https://travis-ci.org/purescript/purescript-foreign )
65
76Library for dealing with foreign data (JSON and JavaScript objects).
87
Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ instance intIsForeign :: IsForeign Int where
5757 read = readInt
5858
5959instance arrayIsForeign :: IsForeign a => IsForeign (Array a ) where
60- read value = readArray value >>= readElements
60+ read = readArray >=> readElements
6161 where
6262 readElements :: Array Foreign -> F (Array a )
6363 readElements arr = sequence (zipWith readElement (range zero (length arr)) arr)
You can’t perform that action at this time.
0 commit comments