-
Notifications
You must be signed in to change notification settings - Fork 323
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
Stop publishing First
/Last
as constructors and use auto-scoping for take
and drop
.
#10467
Conversation
Remove First and Last from exports.
Update libraries for `First` and `Last`. Update `Text_Sub_Range` to use auto-scoping.
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.
Looks like everything is moving towards nice direction with autoscoped constructors.
@@ -789,15 +789,15 @@ type DB_Table | |||
> Example | |||
Drop first 10 rows of the table. | |||
|
|||
table.drop (First 10) | |||
table.drop (..First 10) |
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.
Given the autoscoped constructors are now used in production code, we should find some time to invest into measuring and improving their peak performance.
@@ -1,4 +1,4 @@ | |||
from Standard.Base import all hiding First, Last |
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.
Being able to remove hidding
is a step forward.
Pull Request Description
First
andLast
from theStandard.Base
exports.Index_Sub_Range
andText_Sub_Range
.Checklist
Please ensure that the following checklist has been satisfied before submitting the PR:
Scala,
Java,
TypeScript,
and
Rust
style guides. In case you are using a language not listed above, follow the Rust style guide.