Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Perplexingly not be replicable by CompUnit::, needs a real "use"
- Loading branch information
Showing
2 changed files
with
38 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
unit module RT129215; | ||
|
||
sub array_str ($data) is export { $data ~~ Array[Str]; }; | ||
sub hash_str ($data) is export { $data ~~ Hash[Str]; }; | ||
sub hash_hash_str ($data) is export { $data ~~ Hash[Hash[Str]]; }; | ||
|
||
sub str_d ($data) is export { $data ~~ Str:D; }; | ||
sub array_str_d ($data) is export { $data ~~ Array[Str:D]; }; | ||
sub hash_str_d ($data) is export { $data ~~ Hash[Str:D]; }; | ||
sub hash_hash_str_d ($data) is export { $data ~~ Hash[Hash[Str:D]]; }; | ||
|
||
sub str_u ($data) is export { $data ~~ Str:U; }; | ||
sub array_str_u ($data) is export { $data ~~ Array[Str:U]; }; | ||
sub hash_str_u ($data) is export { $data ~~ Hash[Str:U]; }; | ||
sub hash_hash_str_u ($data) is export { $data ~~ Hash[Hash[Str:U]]; }; |