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

Re: Types in Cor (and Perl)

Thread Previous | Thread Next
July 14, 2020 08:51
Re: Types in Cor (and Perl)
Message ID:
On Tue, 14 Jul 2020 at 09:29, Ovid via perl5-porters <>

> 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)


Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About