mchaver
mchaver
@andrewthad @lykahb I think it would be nice if there were a solution to allow auto-increment for an existing field in a product type. I was thinking when you do...
@glennsl Is it possible to make headers (in BuckleScript) with dashes in the key? This doesn't work. ```OCaml let headers = Bs_fetch.HeadersInit.make [%bs.obj { content-type = "application/json" }] ```
How would you do that? I didn't see find anything in the BuckleScript documentation of casting between JS types. edit: I am guessing `Js_json.object_`. I'll try it in a bit.
@glennsl Thanks, that works.
@glennsl Would you be willing to add `external toJsObject : 'a Js.Dict.t -> < .. >Js.t = "%identity"` to the bs-fetch since it is necessary to make headers in OCaml?...
And really `of_string` should return `t option` since there is no guarantee the string represents a number. Originally this was a direct copy and clean up of OCaml's zarith package...
I just realized this has more up to date documentation: https://github.com/jwiegley/gitlib/blob/master/gitlib/README.md If you don't want to update `Git.Tutorial`, may I suggest you delete in and then in hackage point to...