Skip to content

Commit 0829b1e

Browse files
committed
Fix shadowed name warning
1 parent f738832 commit 0829b1e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Data/Foreign/Class.purs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ instance intIsForeign :: IsForeign Int where
5757
read = readInt
5858

5959
instance 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)

0 commit comments

Comments
 (0)