Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
Text.take and Text.drop #3287
Text.take and Text.drop #3287
Changes from all commits
ea962db
66f2c77
987202d
11a2121
e1fb16d
a6616c0
6c49709
aa26c94
bc7ed35
2b3c078
481bd60
c584926
6a96756
71d2ac2
15508dd
cc1e4d7
bb5c52f
bd1929d
88e0dad
0043fee
b5533b8
bee5298
7abbecd
a59d3c1
1e20ab9
0d48153
4a95875
9f7b706
a03cf3c
f2fdd48
16c0289
e64d382
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
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'm not fully aware of the design there but I think the idea of examples is that (probably in the future) you can select one in the IDE and it will be placed on the stage - so then each example should probably be self contained instead of consisting of multiple variants.
That would make a LOT examples here, but I guess it can be useful to the users.
May worth asking @wdanilo or someone from IDE if the examples should be 'single separate units' or if grouping them like this is ok. Not sure how important that is since I'm not sure if/when this example insertion is going to be implemented, but I remember hearing something about it so would be good to clarify this.
Awesome set of examples by the way!
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.
will add to open questions
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.
would be cool to be able to do it, but I think it may be impossible. Did you try it? If it doesn't work, it may be worth reporting to the engine - if I understand correctly the typeset design, this should be possible - and in this case would make the code much clearer than a
_
. (It would also catch errors earlier, rather than failing withsome random value does not define a to_char_range method
).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.
didn't work when I tried it earlier so ended up with this approach.
will raise with engine team