Konstantin A. Olkhovskiy
Konstantin A. Olkhovskiy
Real world story from one department in a large company: engineers and managers started endless arguing regarding python formatters and corresponding configurations. It was ended by agreeing to use single...
Re "Type Safe Interpolation", probably worth looking at https://github.com/janestreet/ppx_custom_printf. ``` "The time is %{Time} and the timezone is %{Time.Zone}." ``` Will be processed using functions `Time.to_string` and `Time.Zone.to_string` which is...
We could use type annotations, defaulting to `string` if absent. That's what's being done in another ppx from J.S. - ppx_sexp_message. ```ocaml let rename ~src ~dst = try Unix.rename ~src:tmpfile...
Now goes the holy war regarding `to_string` vs `toString`. OCaml folks prefer the former, while JS folks prefer the latter. BuckleScript builds vertically integrated stack, BS Syntax, Belt, BS compiler,...
Reason can't really emit code that is using even OCaml stdlib, because when used with Base, those symbols which Reason would refer to might be marked as deprecated in case...
Re: prose templates - looks good to be default. My long log lines would finally be wrapped by refmt, yet there will be no newlines in the resulting logs. What...
This actually resembles what dune does. I can specify any dune language version which is `= 1.11` and specify dune language version of `1.11`, and everything will work on any...
Docker is doing the same thing btw, see "Overriding default frontends" in https://docs.docker.com/develop/develop-images/build_enhancements/, special comment at the start of dockerfile can change the syntax flavour being used: ``` The new...
Looks like adding `;` after module-level comment fixes parsing. I figured it out while trying to parse correct .mli back to .rei and noticed that refmt added that `;`. Illustrated...
I've opened an issue in odoc project for this as well, as I'm not sure about the root cause of doc being ingnored. If I try to generate doc from...