-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
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
documentation: update News for 4.14.0 release #11135
Conversation
I suggest to add |
Potential new things to mention
(this is arguably mentioned in the list but in a very unclear way I think?)
(This Changes entry could be completed with actual code examples, one for
Potential things to removeIf I had to make space, I would drop "refactorisation of the type checker" (this is not visible to most users) and "many other quality of life improvements" / "many other bug fixes" (this is not informative), and then TMC (this is for advanced users only). Suggested changes
You should give some numbers of potential gains to expect (for programs that spend a lot of time in the major GC).
Maybe mention that in particular Stream and Genlex are deprecated? |
release-info/News
Outdated
- Integrated support for "go to definitions" in Merlin | ||
- Improved error messages in particular for module-level error | ||
- Standard library: new modules In_channel and Out_channel, | ||
many new functions in Seq module, improved utf encoding support. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree with @gasche that this is a confusing way to put it. We had encoding support for quite some time :–)
I suggest , string and bytes UTF decoding and validation support.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would propose
- Standard library: new modules In_channel and Out_channel,
many new functions in Seq module, UTF decoding and validation support
for strings and bytes.
to reduce the size of the prefixed part of the nominal group.
An argument for mentioning the refactoring of the typechecker is that both the changes at for classes and type expressions might end up visible through the prism of unexpected bugs. But the highlight are probably not the right place for that pessimism. The number of highlights is quite reasonable for now. I think it make sense to add the explicit binder syntax and the new guarantee for the tailcall optimisation:
val fold: ('acc -> 'elt -> 'acc) -> 'acc -> 'elt list -> 'acc
type showable = Show: a * ('a -> string) -> showable can now be written as val fold: 'acc 'elt. ('acc -> 'elt -> 'acc) -> 'acc -> 'elt list -> 'acc
type showable = Show: 'a. 'a * ('a -> string) -> showable
|
release-info/News
Outdated
declarations. For instance, | ||
```ocaml | ||
val fold: ('acc -> 'elt -> 'acc) -> 'acc -> 'elt list -> 'acc | ||
type showable = Show: a * ('a -> string) -> showable |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
type showable = Show: a * ('a -> string) -> showable | |
type showable = Show: 'a * ('a -> string) -> showable |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed, thanks!
This PR updates the
release-info/News
file in preparation of the imminent 4.14.0 release.It is also the right place for bikeshedding my current list of release highlights:
OCaml 4.14.0 (?? March 2022)
many new functions in Seq module, improved utf encoding support.