Mark J. Reed wrote:
I'm all for not having any variety of log() in the default namespace.
Regardless, mathematical functions should follow mathematical norms.
Changing Perl tradition is one thing, but we have centuries, sometimes
millennia, of tradition to deal with in the mathematical realm.  It
should not be violated lightly.

That's okay. Preserve their thousands of years of historical legacy. Just preserve it in a separate container.

#! /usr/bin/perl6

say(log(1000, 10));   # Error - no such function "log"

use Math::Simple;

say(log(1000, 10)); # 2.9999999...

Reply via email to