diff --git a/doc/Language/subscripts.pod6 b/doc/Language/subscripts.pod6 index de52060d1..3f30b2262 100644 --- a/doc/Language/subscripts.pod6 +++ b/doc/Language/subscripts.pod6 @@ -854,10 +854,11 @@ of an object of this type. =comment When modifying this section, please also adapt the STORE section in Associative accordingly as they are very similar. - method STORE (::?CLASS:D: values, :$initialize) + method STORE (::?CLASS:D: \values, :$initialize) This method should only be supplied if you want to support the: +=for code :preamble my @a is Foo = 1,2,3; syntax for binding your implementation of the C role. @@ -980,10 +981,11 @@ slot of an object of this type. =comment When modifying this section, please also adapt the STORE section in Positional accordingly as they are very similar. - method STORE (::?CLASS:D: values, :$initialize) + method STORE (::?CLASS:D: \values, :$initialize) This method should only be supplied if you want to support the: +=for code :preamble my %h is Foo = a => 42, b => 666; syntax for binding your implementation of the C role. diff --git a/doc/Type/Associative.pod6 b/doc/Type/Associative.pod6 index c244fa829..43fd80f63 100644 --- a/doc/Type/Associative.pod6 +++ b/doc/Type/Associative.pod6 @@ -70,22 +70,23 @@ you use the parametrized version of Associative. =head2 method AT-KEY - method AT-KEY(key) + method AT-KEY(\key) Should return the value / container at the given key. =head2 method EXISTS-KEY - method EXISTS-KEY(key) + method EXISTS-KEY(\key) Should return a C indicating whether the given key actually has a value. =head2 method STORE - method STORE(values, :$initialize) + method STORE(\values, :$initialize) This method should only be supplied if you want to support the: +=for code :preamble my %h is Foo = a => 42, b => 666; syntax for binding your implementation of the C role. diff --git a/doc/Type/Positional.pod6 b/doc/Type/Positional.pod6 index 6e26f3bc9..d8fbe7628 100644 --- a/doc/Type/Positional.pod6 +++ b/doc/Type/Positional.pod6 @@ -29,23 +29,24 @@ Should return the number of available elements in the instantiated object. =head2 method AT-POS - method AT-POS(position) + method AT-POS(\position) Should return the value / container at the given position. =head2 method EXISTS-POS - method EXISTS-POS(position) + method EXISTS-POS(\position) Should return a C indicating whether the given position actually has a value. =head2 method STORE - method STORE(values, :$initialize) + method STORE(\values, :$initialize) This method should only be supplied if you want to support the: +=for code :preamble my @a is Foo = 1,2,3; syntax for binding your implementation of the C role.