Skip to content

Commit caca25e

Browse files
committed
Added type signature for loop in unescapeText
1 parent 323012a commit caca25e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pure/Data/Aeson/Parser/UnescapePure.hs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,7 @@ unescapeText' bs = runText $ \done -> do
170170
(st', p) ->
171171
return (pos, StateUtf st' p)
172172

173+
loop :: A.MArray s -> (Int, State) -> Int -> ST s (Int, State)
173174
loop _ ps i | i >= len = return ps
174175
loop dest ps i = do
175176
let c = B.index bs i -- JP: We can use unsafe index once we prove bounds with Liquid Haskell.

0 commit comments

Comments
 (0)