File tree Expand file tree Collapse file tree 3 files changed +8
-5
lines changed Expand file tree Collapse file tree 3 files changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -237,11 +237,11 @@ array' valparse = Parser $ \tp ->
237
237
(TokFailed ) -> Failed " Array - token failed"
238
238
where
239
239
nextitem _ _ (ArrayEnd ctx) ntok = Done ctx ntok
240
- nextitem i tok _ _ = arrcontent i (callParse (valparse i) tok)
240
+ nextitem ! i tok _ _ = arrcontent i (callParse (valparse i) tok)
241
241
242
- arrcontent i (Done _ ntp) = moreData (nextitem (i+ 1 )) ntp
243
- arrcontent i (MoreData (Parser np, ntp)) = MoreData (Parser (arrcontent i . np), ntp)
244
- arrcontent i (Yield v np) = Yield v (arrcontent i np)
242
+ arrcontent ! i (Done _ ntp) = moreData (nextitem (i+ 1 )) ntp
243
+ arrcontent ! i (MoreData (Parser np, ntp)) = MoreData (Parser (arrcontent i . np), ntp)
244
+ arrcontent ! i (Yield v np) = Yield v (arrcontent i np)
245
245
arrcontent _ (Failed err) = Failed err
246
246
247
247
-- | Match all items of an array.
Original file line number Diff line number Diff line change
1
+ # 0.4.1.1
2
+ Fixed memory leak in arrayOf
3
+
1
4
# 0.4.1.0
2
5
Added aeson-compatibile encode/decode functions.
3
6
Original file line number Diff line number Diff line change 1
1
name : json-stream
2
- version : 0.4.1.0
2
+ version : 0.4.1.1
3
3
synopsis : Incremental applicative JSON parser
4
4
description : Easy to use JSON parser fully supporting incremental parsing.
5
5
Parsing grammar in applicative form.
You can’t perform that action at this time.
0 commit comments