in reply to Re^8: solve cubic equations (Python)
in thread solve cubic equations

> I just discovered use integer..

Interesting, but I didn't mean that, Perl's parser allows typing

 my TYPE VARLIST

See my

But not much more was ever implemented.

Cheers Rolf
(addicted to the Perl Programming Language and ☆☆☆☆ :)
Je suis Charlie!

Replies are listed 'Best First'.
Re^10: solve cubic equations (Python)
by no_slogan (Deacon) on May 05, 2017 at 23:26 UTC
    Yes, I got that. I was looking at B::CC recently, and I was surprised to see that support for type attributes is still marked as DOES NOT WORK YET. The way you tell it that a variable is an int is to name it with _i at the end.
      The way you tell it that a variable is an int is to name it with _i at the end.
      And that doesn't work either. Everything is actually compiled as doubles.
      Thanks ... well I read further and found types and optimizer

      Apparently Reini was working on it and the code reveals a Perl interface to identify types.

      I wished I had enough time to explore this further...

      Cheers Rolf
      (addicted to the Perl Programming Language and ☆☆☆☆ :)
      Je suis Charlie!