make json-stream-read a fold-like operation? Duy Nguyen (20 Jan 2020 09:47 UTC)
|
Re: make json-stream-read a fold-like operation?
John Cowan
(20 Jan 2020 14:18 UTC)
|
Re: make json-stream-read a fold-like operation?
Amirouche Boubekki
(21 Jan 2020 10:40 UTC)
|
Re: make json-stream-read a fold-like operation?
Duy Nguyen
(21 Jan 2020 12:51 UTC)
|
Re: make json-stream-read a fold-like operation?
Amirouche Boubekki
(21 Jan 2020 15:38 UTC)
|
Re: make json-stream-read a fold-like operation?
Duy Nguyen
(23 Jan 2020 09:07 UTC)
|
json-fold, json-slice and json-transformer (Re: make json-stream-read a fold-like operation?)
Amirouche Boubekki
(23 Jan 2020 10:05 UTC)
|
wip json-fold (Re: json-fold, json-slice and json-transformer (Re: make json-stream-read a fold-like operation?))
Amirouche Boubekki
(23 Jan 2020 19:08 UTC)
|
Re: wip json-fold (Re: json-fold, json-slice and json-transformer (Re: make json-stream-read a fold-like operation?))
Duy Nguyen
(24 Jan 2020 01:40 UTC)
|
make json-stream-read a fold-like operation? Duy Nguyen 20 Jan 2020 09:47 UTC
Is it possible to make 'proc' in json-stream-read take a third, opaque object, and pass proc's result to the next 'proc' call? json-stream-read returns the result of the last 'proc' call. I think by chaining these proc calls together, json-stream-read user can pass parsing state along and can even avoid mutable states if they want to. I haven't looked at the implementation though so I don't know how hard to do it. -- Duy