blib/lib/Lingy/Vector.pm untested

filter: Statementstmt 0.0% 0 / 25 Branchbran 0.0% 0 / 2 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 8 Podpod 0.0% 0 / 2 totaltotal 0.0% 0 / 37 CC 2 SCAR 10.6
CC
2
Cov
0%
_to_seq
6.0
unbox
2.0
BEGIN
2.0
CRAP 2.9
1 use strict; use warnings;
2 package Lingy::Vector;
3  
4 use Lingy::Common;
5 use Lingy::Sequential;
6 use base 'Lingy::ListClass', 'Lingy::Sequential';
7  
8 use overload cmp => \&comp_pair;
9  
10 sub _to_seq {
11 my ($list) = @_;
12 @$list ? list([@$list]) : nil;
13 }
14  
15 sub unbox { [ map $_->unbox($_), @{$_[0]} ] }
16  
17 1;