Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re^4: Perl 6 shocking revelations #1

by John M. Dlugosz (Monsignor)
on Apr 30, 2008 at 18:25 UTC ( #683756=note: print w/ replies, xml ) Need Help??


in reply to Re^3: Perl 6 shocking revelations #1
in thread Perl 6 shocking revelations #1

Re:

I assumed that Perl 6 has some sort of type system, and it is approved at some level. So it didn't occur to me to read it as 'this paper is a proposal to change the Perl 6 type system.'
It's worse than that. If you grep the synopses, you'll find,
  • Perl 6 has an optional type system that helps you write safer code that performs better. The compiler is free to infer what type information it can from the types you supply, but will not complain about missing type information unless you ask it to.
  • A variable's type is a constraint indicating what sorts of values the variable may contain. More precisely, it's a promise that the object or objects contained in the variable are capable of responding to the methods of the indicated "role".
  • Junction types
It is vague at best, with some interesting clues of requirements. It has not yet been designed, just talked about in the newsgroup.

Thanks for the other suggestions.

Do you have any code for quartnion I could rewrite in Perl 6 as the example?

—John


Comment on Re^4: Perl 6 shocking revelations #1
Re^5: Perl 6 shocking revelations #1
by toma (Vicar) on May 05, 2008 at 21:57 UTC
    I've been away at the 2008 Maker Faire - sorry for the delay in my reply.

    There is a perl module Math::Quaternion that you could use. I have not tried this module.

    It should work perfectly the first time! - toma

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://683756]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (8)
As of 2014-10-31 21:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (225 votes), past polls