Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Attempt to fix some links based on what a working link did.
  • Loading branch information
skids committed Sep 14, 2015
1 parent 9fe36fd commit b628b18
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions lib/Type/Parameter.pod
Expand Up @@ -26,7 +26,7 @@ Returns the variable name, which includes all sigils and twigils.
This name is used internally when applied to code, or in a declaration
determines the name declared. This name is not necessarily
useable by a caller -- if it is, it wil also appear as an
L<alias|#named_names>. Often, the name will chosen descriptively
L<alias|#method named_names>. Often, the name will chosen descriptively
as a form of self-documentation.
If the parameter is anonymous, C<Nil> will be returned.
Expand All @@ -40,7 +40,7 @@ if the parameter is anonymous.
This "sigil" is actually an introspection used to help determine
the normal binding style of a parameter, if it has not been altered
through a L<trait|Signature#Parameter_Traits_and_Modifiers>.
through a L<trait|/type/Signature#Parameter Traits and Modifiers>.
=begin table
Will bind to Default behavior
Expand All @@ -56,32 +56,32 @@ $ Scalar Generate new Scalar, use instead of Scalar in argument
=head2 method type
Returns the L<nominal type constraint|Signature#Type_Constraints> of
Returns the L<nominal type constraint|/type/Signature#Type Constraints> of
the parameter.
=head2 method constraints
Returns L<additional constraints|Signature#Type_Constraints> on the
Returns L<additional constraints|/type/Signature#Type Constraints> on the
parameter (usually as an C<all>-Junction).
=head2 method named
Returns C<True> if it's a L<named parameter|Signature#Positional_vs._Named>.
Returns C<True> if it's a L<named parameter|/type/Signature#Positional vs. Named>.
=head2 method named_names
Returns the list of externally usable names/aliases for a
L<named parameter|Signature#Positional_vs._Named>.
L<named parameter|/type/Signature#Positional_vs._Named>.
=head2 method positional
Returns C<True> if the parameter is
L<positional|Signature#Positional_vs._Named>.
L<positional|/type/Signature#Positional_vs._Named>.
=head2 method slurpy
Returns C<True> for
L<slurpy parameters|Signature#Slurpy_(A.K.A._Variadic)_Parameters>.
L<slurpy parameters|/type/Signature#Slurpy_(A.K.A._Variadic)_Parameters>.
=head2 method twigil
Expand All @@ -90,7 +90,7 @@ Returns a string containing the twigil part of the parameter's name.
=head2 method optional
Returns C<True> for
L<optional parameters|Signature#Optional_and_Mandatory_Parameters>.
L<optional parameters|/type/Signature#Optional_and_Mandatory_Parameters>.
=head2 method raw
Expand All @@ -111,7 +111,7 @@ This is the normal behavior for parameters declared with a
L<sigil|#method sigil> of C<'\'>, which is not really a sigil insofar
as it is only used on the parameter. Other parameters may become
raw through use of the 'C<is raw>'
L<trait|Signature#Parameter_Traits_and_Modifiers>. These still use
L<trait|/type/Signature#Parameter_Traits_and_Modifiers>. These still use
their sigil in code.
sub f($raw is raw) {
Expand All @@ -133,12 +133,12 @@ declarations.
=head2 method rw
Returns C<True> for L<C<is rw>|Signature#Parameter_Traits_and_Modifiers>
Returns C<True> for L<C<is rw>|/type/Signature#Parameter_Traits_and_Modifiers>
parameters.
=head2 method copy
Returns C<True> for L<C<is copy>|Signature#Parameter_Traits_and_Modifiers>
Returns C<True> for L<C<is copy>|/type/Signature#Parameter_Traits_and_Modifiers>
parameters.
=head2 method readonly
Expand All @@ -148,12 +148,12 @@ Returns C<True> for read-only parameters (the default).
=head2 method invocant
Returns C<True> if the parameter is the
L<invocant parameter|Signature#Parameter_Separators>.
L<invocant parameter|/type/Signature#Parameter_Separators>.
=head2 method default
Returns a closure that upon invocation returns the
L<default value|Signature#Optional_and_Mandatory_Parameters> for
L<default value|/type/Signature#Optional_and_Mandatory_Parameters> for
this parameter, or C<Any> if no default was provided.
=head2 method type_captures
Expand All @@ -177,7 +177,7 @@ in same the signature:
c("four",5,"six"); # Fails when binding $y, wants Str, not Int
Type captures may be used at the same time as
C<type costraints|Signature#Type_Constraints>.
C<type costraints|/type/Signature#Type_Constraints>.
sub d(::T Numeric $x, T $y);
d(4,5); # OK
Expand All @@ -187,7 +187,7 @@ C<type costraints|Signature#Type_Constraints>.
=head2 method sub_signature
If the parameter has a C<sub-signature|Signature#Destructuring_Parameters>,
If the parameter has a C<sub-signature|/type/Signature#Destructuring_Parameters>,
returns a Signature object for it. Otherwise returns C<Any>.
=end pod

0 comments on commit b628b18

Please sign in to comment.