Skip to content

Commit

Permalink
Removing of proto signatures. It is an internal implementation deta…
Browse files Browse the repository at this point in the history
…il, it is noisy with no gain for a reader and we don't have them too many to keep.

Fixes #1033
  • Loading branch information
Altai-man committed Dec 10, 2016
1 parent 0e5ca87 commit ea77029
Show file tree
Hide file tree
Showing 6 changed files with 1 addition and 17 deletions.
3 changes: 0 additions & 3 deletions doc/Type/Any.pod6
Original file line number Diff line number Diff line change
Expand Up @@ -131,9 +131,6 @@ Examples:
Defined as:
=begin code :skip-test
proto method map(|) is nodal { * }
=end code
multi method map(\SELF: █; :$label, :$item)
multi method map(HyperIterable:D: █; :$label)
Expand Down
6 changes: 1 addition & 5 deletions doc/Type/Backtrace.pod6
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,7 @@ example routines like C<&die> are hidden by default.
Defined as:
=begin code :skip-test
proto method new(*@, *%) {*}
multi method new()
=end code
multi method new(--> Backtrace:D)
Creates a new backtrace, using its calling location as the origin of the
backtrace.
Expand Down
3 changes: 0 additions & 3 deletions doc/Type/Complex.pod6
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,6 @@ Adding a trailing C<i> to a number literal makes it a Complex, for example:
Defined as:
=begin code :skip-test
proto method new(*@, *%) {*} returns Complex:D
=end code
multi method new(Real $re, Real $im --> Complex:D)
Creates a new C<Complex> object from real and imaginary parts.
Expand Down
3 changes: 0 additions & 3 deletions doc/Type/Date.pod6
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,6 @@ an object the current day according to the system clock.
Defined as:
=begin code :skip-test
proto method new() {*}
=end code
multi method new($year, $month, $day, :&formatter --> Date:D)
multi method new(:$year!, :$month = 1, :$day = 1 --> Date:D)
multi method new(Str $date --> Date:D)
Expand Down
1 change: 0 additions & 1 deletion doc/Type/Seq.pod6
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,6 @@ L<X::Seq::Consumed>.
=head2 method from-loop
proto method from-loop(| --> Seq:D)
multi method from-loop(&body --> Seq:D)
multi method from-loop(&body, &cond, :$repeat --> Seq:D)
multi method from-loop(&body, &cond, &afterward --> Seq:D)
Expand Down
2 changes: 0 additions & 2 deletions doc/Type/Str.pod6
Original file line number Diff line number Diff line change
Expand Up @@ -957,7 +957,6 @@ C<NFKD> methods if other forms are required.
=head2 method trans
proto method trans(|)
multi method trans(Str:D: Pair:D \what, *%n --> Str)
multi method trans(Str:D: *@changes, :complement(:$c), :squash(:$s), :delete(:$d) --> Str)
Expand Down Expand Up @@ -990,7 +989,6 @@ Example:
=head2 method indent
proto method indent($)
multi method indent(Int $steps where { $_ == 0 } )
multi method indent(Int $steps where { $_ > 0 } )
multi method indent($steps where { .isa(Whatever) || .isa(Int) && $_ < 0 } )
Expand Down

0 comments on commit ea77029

Please sign in to comment.