You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
We used to get this formatting with 0.10:
module type Basic3 = sig
type ('a, 'd, 'e) t
val return : 'a -> ('a, _, _) t
val apply : ('a -> 'b, 'd, 'e) t -> ('a, 'd, 'e) t -> ('b, 'd, 'e) t
val map
: [ `Define_using_apply
| `Custom of ('a, 'd, 'e) t -> f:('a -> 'b) -> ('b, 'd, 'e) t
]
end
We now get this formatting with 0.11. The type for map goes over the normal line limit of 90 characters.
module type Basic3 = sig
type ('a, 'd, 'e) t
val return : 'a -> ('a, _, _) t
val apply : ('a -> 'b, 'd, 'e) t -> ('a, 'd, 'e) t -> ('b, 'd, 'e) t
val map
: [ `Define_using_apply | `Custom of ('a, 'd, 'e) t -> f:('a -> 'b) -> ('b, 'd, 'e) t ]
end
How to Reproduce
Using ocamlformat built from 962afbc, run: ocamlformat --enable-outside-detected-project --profile=janestreet --inplace applicative_intf.ml
The text was updated successfully, but these errors were encountered:
Describe the bug
We used to get this formatting with 0.10:
We now get this formatting with 0.11. The type for
map
goes over the normal line limit of 90 characters.How to Reproduce
Using
ocamlformat
built from 962afbc, run:ocamlformat --enable-outside-detected-project --profile=janestreet --inplace applicative_intf.ml
The text was updated successfully, but these errors were encountered: