Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

kill abs and sleep as prefixes

they live on as normal subroutines
  • Loading branch information...
commit 36ccdac5e75b6d0ac1bd503759dde933f0dc64cd 1 parent 261003e
@moritz moritz authored
Showing with 2 additions and 29 deletions.
  1. +2 −29 S03-operators.pod
View
31 S03-operators.pod
@@ -14,8 +14,8 @@ Synopsis 3: Perl 6 Operators
Created: 8 Mar 2004
- Last Modified: 27 June 2012
- Version: 254
+ Last Modified: 20 July 2012
+ Version: 255
=head1 Overview
@@ -265,7 +265,6 @@ a function call even if that identifier also has a prefix meaning,
so you never have to worry about precedence in that case. Hence:
not($x) + 1 # means (not $x) + 1
- abs($x) + 1 # means (abs $x) + 1
=item *
@@ -1150,32 +1149,6 @@ In other words:
is a syntax error (two terms in a row), because C<int> is a type name now.
-=over
-
-=item *
-
-C<< prefix:<int> >>
-
-Deprecated, use the C<Int()> coercion or the C<floor> function.
-
-=item *
-
-C<< prefix:<sleep> >>
-
-Coerces to an appropriate C<Real> type, then suspends the current
-thread of execution for the specified number of seconds, which
-may be fractional. Remember that although a C<Rat> is capable
-of attosecond precision, your computer is probably not capable of
-attosecond accuracy.
-
-=item *
-
-C<< prefix:<abs> >>
-
-Returns the absolute value of the specified argument.
-
-=back
-
=head2 Nonchaining binary precedence
=over
Please sign in to comment.
Something went wrong with that request. Please try again.