Skip to content

Commit 6edb70f

Browse files
forgot about a prime
1 parent 085022e commit 6edb70f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Data/String/CodePoints.purs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ toCodePointArrayFallback :: String -> Array CodePoint
266266
toCodePointArrayFallback s = unfoldr unconsButWithTuple s
267267

268268
unconsButWithTuple :: String -> Maybe (Tuple CodePoint String)
269-
unconsButWithTuple s' = (\{ head, tail } -> Tuple head tail) <$> uncons s'
269+
unconsButWithTuple s = (\{ head, tail } -> Tuple head tail) <$> uncons s
270270

271271

272272
-- | Returns a record with the first code point and the remaining code points

0 commit comments

Comments
 (0)