develooper Front page | perl.perl5.porters | Postings from July 2020

Re: Types in Cor (and Perl)

Thread Previous | Thread Next
From:
=?UTF-8?Q?Branislav_Zahradn=C3=ADk?=
Date:
July 14, 2020 08:51
Subject:
Re: Types in Cor (and Perl)
Message ID:
CAB=rbOnwB5LWT56NZgHvuhspaWacH=MsQZec+2x5HYN-Qn8zYw@mail.gmail.com
On Tue, 14 Jul 2020 at 09:29, Ovid via perl5-porters <perl5-porters@perl.org>
wrote:

> David asked:
>
> > Is there any reason not to use the existing syntax for types?
> >  my Foo::Bar $x;
>
> I deliberately avoided that because of this from perldoc -f my:
>
>
probably unrelated to Cor itself, but I just have a feeling that it will
benefit from firstclass class literal (like raku's :U or java's .class, but
more perlish)

Both usage and syntax may be easier (just gut feeling)

Brano

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About