plow-technologies / ocaml-export

Export Haskell type and aeson serializations to OCaml BuckleScript
Other
17 stars 1 forks source link

Support Rational, Int32, Int64, etc. #18

Open mchaver opened 6 years ago

smurphy8 commented 6 years ago

@mchaver progress?

mchaver commented 6 years ago

This needs to be finished first. The annoying part is we have to make our own version of the Js.Json.t type in order to support parse int64 and larger in ways that don't break JavaScript. I tried to get it into BuckleScript, but they want to wait until int64 and up get supported in JavaScript. It is something that is supposed to happen in the future, but I don't think it is that quick. https://github.com/plow-technologies/bs-aeson/pull/7

smurphy8 commented 6 years ago

Geesh, okay well we can just keep our own tracking of it for now.