Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

nex3
Copy link
Contributor

@nex3 nex3 commented Aug 26, 2021

@nex3 nex3 requested a review from Awjin August 26, 2021 22:03
@nex3
Copy link
Contributor Author

nex3 commented Aug 26, 2021

This shouldn't be submitted until we've also got an approved PR adding documentation for it to the Sass website.

@nex3 nex3 mentioned this pull request Aug 26, 2021
13 tasks
/// The definitions of Sass introspection functions that are only available from
/// the `sass:meta` module, not as global functions.
final local = UnmodifiableListView([
_function("calc-name", r"$calc", (arguments) {
Copy link
Contributor

Choose a reason for hiding this comment

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

should it calc-name or calculation-name as the value type has been changed to calculation to avoid confusion with the fact that not all calculations are for calc() ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

That's something we probably should have talked through in the design process 😅. I think it's fine though to keep this name short, since "calc" can also be read as short for "calculation".

Copy link
Contributor

@stof stof Sep 9, 2021

Choose a reason for hiding this comment

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

That's something we probably should have talked through in the design process

I agree. But that's something I missed when re-reading the proposal after the renaming of the type from calc to calculation. It is still better to discuss that now than after landing the feature in a release.

@nex3 nex3 merged commit bb08672 into main Sep 13, 2021
@nex3 nex3 deleted the first-class-calc branch September 13, 2021 23:16
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