Skip to content

Commit

Permalink
Note arg-less Complex.new call
Browse files Browse the repository at this point in the history
  • Loading branch information
Altai-man committed Mar 3, 2019
1 parent 9217269 commit 8dbc66b
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion doc/Type/Complex.pod6
Expand Up @@ -30,6 +30,11 @@ Defined as:
Creates a new C<Complex> object from real and imaginary parts.
my $complex = Complex.new(1, 1);
say $complex; # OUTPUT: «1+1i␤»
When created without arguments, both parts are considered to be zero.
say Complex.new; # OUTPUT: «0+0i␤»
=head2 method re
Expand Down Expand Up @@ -208,4 +213,4 @@ a warning about using an uninitialized value in numeric context and then returns
=end pod

# vim: expandtab softtabstop=4 shiftwidth=4 ft=perl6
# vim: expandtab softtabstop=4 shiftwidth=4 ft=perl6

0 comments on commit 8dbc66b

Please sign in to comment.