We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
As of f35eee4, Topiary formats:
val foo : named_argument: ( int -> float -> string ) -> other_argument -> result
as:
val foo : named_argument: (int -> float -> string) -> other_argument -> result
which is just... wrong. I'm not sure my snippet is how Topiary should render it, but at least it should definitely render it how it does it now.
Somewhat related to dangling parentheses: #661
To reproduce:
$ nix run github:tweag/topiary/f35eee4 -- format -l ocaml_interface <<EOF val foo : named_argument: ( int -> float -> string ) -> other_argument -> result EOF
The text was updated successfully, but these errors were encountered:
Note that this isn't limited to named arguments (it is just how I discovered it):
val foo : ( int -> float -> string ) -> other_argument -> result
gets formatted as
val foo : (int -> float -> string) -> other_argument -> result
Sorry, something went wrong.
Also, combo with #816:
val foo : named_argument: ( int, string ) Hashtbl.t -> other_argument -> result
val foo : named_argument: (int, string) Hashtbl.t -> other_argument -> result
Again, my snippet doesn't look good so I'm not sure how things should look, but not like this.
No branches or pull requests
As of f35eee4, Topiary formats:
as:
which is just... wrong. I'm not sure my snippet is how Topiary should render it, but at least it should definitely render it how it does it now.
Somewhat related to dangling parentheses: #661
To reproduce:
The text was updated successfully, but these errors were encountered: