pierre-vigier / Perl6-Math-Matrix

fully featured data type for matrix math
Artistic License 2.0
20 stars 6 forks source link

Make norm method signatures cleaner #49

Closed Tyil closed 6 years ago

Tyil commented 6 years ago

Using a where in signatures generally doesn't generate clear error messages. Besides, the signatures I updated don't really need most of what was there anyway, the $which was not even used, for instance. So, in an attempt to make it more concise and easier to understand, I updated these signatures.

I ran the tests using prove -e 'perl6 -Ilib' t, and all tests passed (on my machine).

lichtkind commented 6 years ago

very good