You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(1) I don't understand quite what's being said here. Is the convention universally enforced? Is it only mandatory under certain circumstances?
(2) Is this section up-to-date? The general thrust is you need to monkey patch existing classes to add coercion methods for new types. Is that still true?
"Turning one type into another is done with coercion methods that have the same name as the target type. This convention is made mandatory by Signatures."
The text was updated successfully, but these errors were encountered:
"Turning one type into another is done with coercion methods that have the same name as the target type. This convention is made mandatory by Signatures."
I can't find this text in the doc source or history.
(1) I don't understand quite what's being said here. Is the convention universally enforced? Is it only mandatory under certain circumstances?
(2) Is this section up-to-date? The general thrust is you need to monkey patch existing classes to add coercion methods for new types. Is that still true?
https://new-raku.finanalyst.org/language/signatures#Coercion_type
"Turning one type into another is done with coercion methods that have the same name as the target type. This convention is made mandatory by Signatures."
The text was updated successfully, but these errors were encountered: