On 12/20/20 12:17 AM, ToddAndMargo via perl6-users wrote:
Hi All,https://docs.raku.org/routine/cos method cos() Where is the definition of what is fed to the method? Should it no be something like: method cos( Cool:D --> Cool:D ) What am I missing? -T
https://github.com/rakudo/rakudo/blob/master/src/core.c/Cool.pm6 13: method cos() { self.Numeric.cos } Whatever the heck "self" is So maybe the manual page should say method cos( Numeric:D --> Numeric:D )