HaloO,

I wrote:
   subset Five of Int where {$_ == 5}

is the corresponding type

   my Five $x; # effectively a constant
   my 5    $y; # syntax error or 5 in type position?

Would

     my :(5) $z;

work as a type literal?


Regards, TSa.
--

"The unavoidable price of reliability is simplicity"
  -- C.A.R. Hoare

Reply via email to