Front page | perl.perl6.users |
Postings from September 2019
September 5, 2019 12:34
Message ID: CANUJ3NpmpH8zoQiV1xEcjw2Lp=R2Fz-E__LkUGLRysgqrni6Qw@mail.gmail.com
I am wondering whether it is possible to define a Pair with a key and a
value of a specific class.
Suppose I want an Array of Pairs with keys as Str and values as Array of
Str called "properties". And define it as a instance variable.Something of
has Pair[Str, Array[Str]] @!properties;
Except this wont work.