From 0665b3ee2002f3287e0459e8b3aaf8ec4d939b44 Mon Sep 17 00:00:00 2001 From: Patrick Spek Date: Thu, 23 Aug 2018 01:11:01 +0200 Subject: Update last part on the MR to Math::Matrix --- _posts/2018-08-15-the-perl-conference-in-glasgow.adoc | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) (limited to '_posts') diff --git a/_posts/2018-08-15-the-perl-conference-in-glasgow.adoc b/_posts/2018-08-15-the-perl-conference-in-glasgow.adoc index 1169939..e79b2e6 100644 --- a/_posts/2018-08-15-the-perl-conference-in-glasgow.adoc +++ b/_posts/2018-08-15-the-perl-conference-in-glasgow.adoc @@ -250,13 +250,5 @@ method norm ('row-sum') This is shorter and clearer, and you'll get better feedback from the compiler as well. I https://github.com/pierre-vigier/Perl6-Math-Matrix/pull/49[submitted a pull request on the GitHub repository] in an attempt to improve this, which -got merged as well! - -Additionally, the module contains a `gist`, as it should. However, the default -behaviour of `gist` in Pelr 6 limits the number of elements it returns. To work -around this without breaking the expected behaviour of `gist`, a `full` method -was added. I personally think it would be cleaner to instead add a `gist` multi -method that allows `:full` to be set, ie `$m.gist(:full)`. This allows people -to continue to use the `gist` method as expected, and simply add a single -argument to enable the large output, instead of calling a different method -altogether. +got merged! The speaker was not aware it could be done this easy, so I'm proud +I got to teach him something right after he did his presentation. -- cgit v1.1