> Why not a new syntax? > > foo($x : 10, $y : 20); > bar($z : 30, @t : (1, 2, 3)); > > To me, the colon indicates something like expectation: $x will become > 10, but not just yet. I'd be inclined to drop the prefixes: foo(x: 10, y: 20); bar(z: 30, t: (1, 2, 3)); Damian
- RFC 57 (v1) Subroutine prototypes and parameters Perl6 RFC Librarian
- Re: RFC 57 (v1) Subroutine prototypes and paramet... Jonathan Scott Duff
- Re: RFC 57 (v1) Subroutine prototypes and par... Jacob Davies
- Re: RFC 57 (v1) Subroutine prototypes and... Bart Lateur
- Re: RFC 57 (v1) Subroutine prototypes and paramet... Bart Lateur
- Re: RFC 57 (v1) Subroutine prototypes and par... Chaim Frenkel
- Re: RFC 57 (v1) Subroutine prototypes and paramet... Chaim Frenkel
- Re: RFC 57 (v1) Subroutine prototypes and paramet... Piers Cawley
- Re: RFC 57 (v1) Subroutine prototypes and par... Piers Cawley
- Re: RFC 57 (v1) Subroutine prototypes and paramet... Damian Conway
- Re: RFC 57 (v1) Subroutine prototypes and par... Bart Lateur
- Re: RFC 57 (v1) Subroutine prototypes and... Jacob Davies
- Re: RFC 57 (v1) Subroutine prototypes... Bart Lateur
- Re: RFC 57 (v1) Subroutine proto... Nathan Wiger
- Re: RFC 57 (v1) Subroutine p... Andy Wardley
- Re: RFC 57 (v1) Subrouti... Bart Lateur
- Re: RFC 57 (v1) Subrouti... Andy Wardley
- Re: RFC 57 (v1) Subrouti... Nathan Wiger
- Re: RFC 57 (v1) Subrouti... Jonathan Scott Duff
- Re: RFC 57 (v1) Subrouti... Nathan Wiger