Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: RE (tilly) 1: Schwartzian Transform

by I0 (Priest)
on Jan 04, 2001 at 19:26 UTC ( #49773=note: print w/replies, xml ) Need Help??


in reply to RE (tilly) 1: Schwartzian Transform
in thread Schwartzian Transform

But let us use a fake notation where |> means "pipe to",
perl v6.0?
  • Comment on Re: RE (tilly) 1: Schwartzian Transform

Replies are listed 'Best First'.
Re (tilly) 3: Schwartzian Transform
by tilly (Archbishop) on Jan 04, 2001 at 22:16 UTC
    I have no idea if it is under consideration. Probably not. I suggested it on p5p once to decidedly mixed reviews.

    I note that in many other languages similar algorithms are naturally coded as chained method calls, and that winds up reading left to right...

      I advocated a list-dereference syntax to fairly positive reviews in p5p, but I doubt anyone will find the tuits to actually implement it. It would allow an entire list to be passed to a method, like map, or to dereference multi-dimensional slices of nested data structures:

      @3dSlice= $ref->@==>{qw(a b c)}==>[1..5]; $obj->GetAttribs()==>Stringify()==>Dump();
      The choice of token was not solidified. (Or was your |> mentioned in that thread as well?)

              - tye (but my friends call me "Tye")
Re: Re: RE (tilly) 1: Schwartzian Transform
by meonkeys (Chaplain) on Aug 11, 2003 at 07:17 UTC
    perl v6.0?
    yep! Guess they liked '==>'.

    ---
    "A Jedi uses the Force for knowledge and defense, never for attack."

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://49773]
help
Chatterbox?
[Discipulus]: always! but if i can ask choroba why you always use the inverted (to me) form 1 == $.?
[choroba]: To avoid accidental overwriting of the variable in if ($x = 3)
[karlgoethebier]: Corion: Auch in hessisch? Mer wasses net.
[Corion]: Hmm - I'm not sure, I haven't read the mundart/slang translations ;)
[Eily]: $F[1] =~ s/^0//r could be written as (0+$F[1]). It's less explicit though
[Discipulus]: ah! seems wise choroba, you play safe
[shmem]: Eily: also -+-$F[1]
[shmem]: hmm... there should be a glyph for "bembel" in unicode "miscellaneous symbols"

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (11)
As of 2017-05-24 08:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?