Quantcast
Channel: ReScript Forum - Latest posts
Viewing all articles
Browse latest Browse all 1787

Is Obj being deprecated in its entirety?

$
0
0
  exception EncodeError({obj: Obj.t, reason: string})
  exception DecodeError({
    doc: BSON.t,
    key: string,
    value: option<Obj.t>,
    reason: string,
    exc: option<Printexc.t>,
  })

this is how i use it. it’s a convenient way of say “some object/value” which is ok for debugging/errors. I don’t want to use JSON.t because JSON.t definitely isn’t “any object”


Viewing all articles
Browse latest Browse all 1787

Trending Articles