Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletion doc/rst/technotes/editions.rst
Original file line number Diff line number Diff line change
Expand Up @@ -169,4 +169,14 @@ remain in the preview until they are deemed sufficiently complete.
``<=``, ``>``, ``>=``) are defined as module code accepting two
generic arguments of type ``record`` rather than being inserted by
the compiler in cases where it believes the user did not define such
operators for a given record type.
operators for a given record type. For most programs, this should
not result in any behavior change, and we encourage you to reach out
and let us know if you find otherwise.

Comment on lines +172 to +175

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

putting my user hat on, if we expect no behavior changes why is this in the preview edition?

The most significant anticipated behavioral change is for records
that only have tertiary definitions of such operators (which is to
say, ones that are defined in a different module than the record
itself). In such cases, these default, module-defined comparison
operators will be available for the record type in scopes where the
tertiary operators are not available. We consider this to be an
improvement.
Loading