Skip to content

Conversation

@sjrd
Copy link
Member

@sjrd sjrd commented Jul 5, 2022

No description provided.

@sjrd sjrd marked this pull request as ready for review July 5, 2022 13:23
@sjrd sjrd requested a review from bishabosha July 5, 2022 14:01
This method can also be available on implicit scope. To define our own string interpolation, we simply need to create an implicit class that adds a new method
to `StringContext`. Here's an example:
This method can also be available on implicit scope.
To define our own string interpolation, we need to create an implicit class (Scala 2) or an `extension` method (Scala 3) that adds a new method to `StringContext`.
Copy link
Member

Choose a reason for hiding this comment

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

instead of mentioning both Scala 2 and Scala 3 in this sentence, you could add a specialised line of text to either tab

Copy link
Member Author

Choose a reason for hiding this comment

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

It doesn't really "look well" if I do that, IMO.

@sjrd sjrd requested a review from julienrf July 5, 2022 15:00
@bishabosha bishabosha self-requested a review July 5, 2022 15:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants