Skip to content

Commit 05c9075

Browse files
committed
Change quasi-quote delimiters to make some syntax highlighters work properly.
Additionally, type constraint on Feature is relaxed because integer-ness of keys was already checked as parent type |Map[Int, Num]|.
1 parent cbb91eb commit 05c9075

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Algorithm/LibLinear/Types.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ use Type::Library -base;
66
use Types::Standard qw/Dict Int Map Num/;
77

88
my $Feature = __PACKAGE__->add_type(
9-
constraint => q{ List::MoreUtils::all { $_ eq int and $_ > 0 } keys %$_ },
9+
constraint => q!List::MoreUtils::all { $_ > 0 } keys %$_!,
1010
name => 'Feature',
1111
parent => Map[Int, Num],
1212
);

0 commit comments

Comments
 (0)