Skip to content
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

Cool isn't cool #2614

Closed
isomorphisms opened this issue Feb 6, 2019 · 2 comments
Closed

Cool isn't cool #2614

isomorphisms opened this issue Feb 6, 2019 · 2 comments

Comments

@isomorphisms
Copy link

The problem

I was hoping the Cool type would be cooler.

Suggestions

Why not just call it Num or Number?

Basic arithmetic isn't cool. Nor is coercion. It's just something I want to take for granted. Surely there are cooler things in perl6.

@AlexDaniel
Copy link
Member

From https://docs.perl6.org/type/Cool:

Cool, also known as the Convenient OO Loop

So maybe it's not Cool but at least it's COOL.

@treyharris
Copy link
Contributor

Members of type Cool are "cool with whatever" num-y or string-y methods you throw at it. It's the type that gives Perl 6 much of the dynamic behavior Perl 5 users are used to.

This isn't a doc issue; if you want to argue the naming should be changed, I suggest you bring it up on perl6-language@perl.org.

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

No branches or pull requests

3 participants