ajs / perl6-Math-Sequences

Useful mathematical sequences
Artistic License 2.0
3 stars 9 forks source link

Clean up, export some of the new helper subs and document them. #148

Closed thundergnat closed 5 years ago

thundergnat commented 5 years ago

Sigh. I wonder how I mange to get dressed in the mornings sometimes.

AlexDaniel commented 5 years ago

@thundergnat actually, now I see there's a problem:

===SORRY!=== Error while compiling /home/alex/git/perl6-Math-Sequences/lib/Math/Sequences/Integer.pm6 (Math::Sequences::Integer)
Missing block
at /home/alex/git/perl6-Math-Sequences/lib/Math/Sequences/Integer.pm6 (Math::Sequences::Integer):293
------> sub totient ($n) is export⏏ (:support) {
    expecting any of:
        new name to be defined
taboege commented 5 years ago

I have a habit of leaving a space between function name and signature. (That's how I imagine this typo came to be in your cleanup.) That space is not allowed after the export trait, simple as that.