On Thu, 30 Jun 2005 05:17:56 +0300, Yuval Kogman

> I gave Perl 6 to Mr. Clean, and he said that if type inferrence was
> formalized, and used always, except that it's usually used for
> performance, and with a lexical pragma can be used to enforce types.
> I like facist programming when it can help me, so I would like to
> see something like his proposal.
>       no autocoerce;;
>       my $y =3D 'blah';
>       my Int $x =3D $y; # compile time type error
> This scheme is not perfect.. Maybe someone has an idea?

I would prefur this to be written.

use strict "types";

Please excuse my spelling as I suffer from agraphia. See
http://dformosa.zeta.org.au/~dformosa/Spelling.html to find out more.
Free the Memes.

Reply via email to