Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??
Please, people, trust the design team. They're all working hard and they're coming up with great stuff.

The reason a search for "hyperoperator" doesn't turn up anything new is that they're no longer called that. The new name for them is "vector operators." (Similarly, superpositions are now called junctions.) Search for that and you'll turn up newer information, though I don't think there's been as much discussion on them lately.

Yes, the vector op has been changed from ^op to »op« or it's ASCII equivalent >>op<<. You should know that there was a lot of discussion on the syntax here, and multiple options were discussed. For a list of proposed syntaxes and their pros and cons, check out this article on google groups.

As to why, specifically, ^op was abolished, I believe it has to do with code like this: @a ^+= @b. I don't remember what exactly the problem was off the top of my head, though I'm sure some searching could turn it up.

As to the use of unicode as an operator, get used to it. Perl 6 source files are in unicode. This is a time of transition. You still have ASCII equivalents you can use, but they'll be a little uglier. If it was possible to make things beautiful without resorting to unicode, they'd have done it. As it is, unicode is only used in marginal cases.


In reply to Re: Perl 6 language -- change in hyperoperator syntax by elusion
in thread Perl 6 language -- change in hyperoperator syntax by boo_radley

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (4)
As of 2024-04-19 02:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found