Gabriel Scherer
Gabriel Scherer
That's a good point, we could have a decoder that has locations for each value node. But it requires additional API design. Maybe the value type could be parametrized over...
Another remark: `json_of_jsonm` tries hard to integrate with monadic concurrency frameworks by providing versions abstracted over an IO monad ([json_of_jsonm_monadic.mli](https://github.com/stevebleazard/ocaml-json-of-jsonm/blob/6350101/src/json_of_jsonm_monad.mli); binds are inserted precisely in the `Await cases, [here in...
I pushed another commit with the following interface: ```ocaml type pos = int * int type range = pos * pos type 'loc t = 'loc value * 'loc and...
I pushed another commit with the alternative interface I mentioned previously: ```ocaml module With_loc : sig type t = value * range and value = [ | `Null | `Bool...
The `Tloc` module looks very nice. Could it be released as an independent library? (One thing that I think would be nice for third-party users would be to have functions...
Regarding the dead horses all together: I'm fine with closing this PR. The next step in any case is to send a PR to Ezjsonm to report decoding-error locations (it's...
I pushed a version with locations inside each constructor. ```ocaml type 'loc t = [ | `Null of 'loc | `Bool of bool * 'loc | `Float of float *...
(This is a gentle ping: it's completely fine if you are busy with other things, but if you are just procrastinating about saying "no", please do not hesitate to do...
(Note: this PR is still on my TODO list, but I have been too busy with other things before it in the list for now. Apologies for the delay.)
Sounds great! I'm on holidays this week and would like to have a look next week, please do not hesitate to ping me if I forget.