Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
We don't need no Mu
After discussing this with jnthn at PLPW
  • Loading branch information
lizmat committed May 28, 2013
1 parent d0ac9a7 commit d292900
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/core/Any.pm
Expand Up @@ -323,14 +323,14 @@ my class Any {
}

# %h<key>
multi method postcircumfix:<{ }>(\SELF: Mu $key) is rw {
multi method postcircumfix:<{ }>(\SELF: $key) is rw {
SELF.at_key($key)
}
multi method postcircumfix:<{ }>(\SELF: Mu $key, Mu :$BIND! is parcel) is rw {
multi method postcircumfix:<{ }>(\SELF: $key, Mu :$BIND! is parcel) is rw {
SELF.bind_key($key, $BIND)
}
multi method postcircumfix:<{ }>(
\SELF: Mu $key,
\SELF: $key,
:$delete! where so $delete,
:$kv = $default, :$p = $default, :$k = $default, :$v = $default
) is rw {
Expand All @@ -352,16 +352,16 @@ my class Any {
?? SELF.delete($key)
!! ();
}
multi method postcircumfix:<{ }>(\SELF: Mu $key, :$exists! ) is rw {
multi method postcircumfix:<{ }>(\SELF: $key, :$exists! ) is rw {
!( SELF.exists($key) ?^ $exists )
}
multi method postcircumfix:<{ }>(\SELF: Mu $key, :$p!) is rw {
multi method postcircumfix:<{ }>(\SELF: $key, :$p!) is rw {
RWPAIR($key, SELF.at_key($key))
}
multi method postcircumfix:<{ }>(\SELF: Mu $key, :$k!) is rw {
multi method postcircumfix:<{ }>(\SELF: $key, :$k!) is rw {
$key
}
multi method postcircumfix:<{ }>(\SELF: Mu $key, :$kv!) is rw {
multi method postcircumfix:<{ }>(\SELF: $key, :$kv!) is rw {
($key, SELF.at_key($key))
}

Expand Down

0 comments on commit d292900

Please sign in to comment.