http://www.perlmonks.org?node_id=49773


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."