aboutsummaryrefslogtreecommitdiff
path: root/challenge-026
diff options
context:
space:
mode:
authorholli-holzer <holli.holzer@gmail.com>2019-09-17 22:05:11 +0200
committerGitHub <noreply@github.com>2019-09-17 22:05:11 +0200
commite326199ba2d83e1c78579d3f5a2945126a91a5c6 (patch)
treeacf2d78a433983cc6aba0268348b9d46784e15ed /challenge-026
parent62a8eaa47b92e0808f24cbdd89c29a164a168c62 (diff)
downloadperlweeklychallenge-club-e326199ba2d83e1c78579d3f5a2945126a91a5c6.tar.gz
perlweeklychallenge-club-e326199ba2d83e1c78579d3f5a2945126a91a5c6.tar.bz2
perlweeklychallenge-club-e326199ba2d83e1c78579d3f5a2945126a91a5c6.zip
Update ch-2.p6
Diffstat (limited to 'challenge-026')
-rw-r--r--challenge-026/markus-holzer/perl6/ch-2.p62
1 files changed, 1 insertions, 1 deletions
diff --git a/challenge-026/markus-holzer/perl6/ch-2.p6 b/challenge-026/markus-holzer/perl6/ch-2.p6
index 68e4321c19..8c53908732 100644
--- a/challenge-026/markus-holzer/perl6/ch-2.p6
+++ b/challenge-026/markus-holzer/perl6/ch-2.p6
@@ -2,7 +2,7 @@ use Test;
# Rakus trigonometry functions operate on radians. So we must convert degrees to radians.
# That's simple enough using a new postfix operator and high school math.
-multi sub postfix:<°>( Numeric $degrees ) is looser(&prefix:<->) returns Real { $degrees * π / 180 }
+multi sub postfix:<°>( Numeric $degrees ) returns Real { $degrees * π / 180 }
# This implements the "simple" version of the algorithm as described on Wikipedia.
# There already is an implementation of the complex math version (that uses `i`)