NAME
Mic::ArrayImpl
SYNOPSIS
package Example::ArrayImps::HashSet;
use Mic::ArrayImpl
has => { SET => { default => sub { {} } } },
;
sub has {
my ($self, $e) = @_;
exists $self->[SET]{$e};
}
sub add {
my ($self, $e) = @_;
++$self->[SET]{$e};
}
1;
DESCRIPTION
Mic::ArrayImpl is an alias of Mic::Impl.