From:

Date:

October 16, 2021 15:04Subject:

Re: Elevator pitch - "assuming"Message ID:

20211016160406.18a5623c@shy.leonerd.org.ukOn Wed, 28 Jul 2021 12:52:25 +0100 "Paul \"LeoNerd\" Evans" <leonerd@leonerd.org.uk> wrote: > Oh well if you wanted it as a block with the keyword first, that's > easily possible as a keyword module: > > assuming( $value ) { > $_ = calculate_new_value_using $_; > } Veesh: As a way to progress this idea, perhaps you would consider this plan? If you make it as a keyword in that form, you don't immediately get the infix notation but you would at least be able to experiment with the idea in its block form as a regular CPAN module. In addition it would probably be possible to do as an infix version as well with my PL_infix_plugin branch, though that won't help "regular" perl builds. :) -- Paul "LeoNerd" Evans leonerd@leonerd.org.uk | https://metacpan.org/author/PEVANS http://www.leonerd.org.uk/ | https://www.tindie.com/stores/leonerd/Thread Previous | Thread Next

- Elevator pitch - "assuming" by Veesh Goldman
- Re: Elevator pitch - "assuming" by David Nicol
- Re: Elevator pitch - "assuming" by sisyphus
- Re: Elevator pitch - "assuming" by Smylers
- Re: Elevator pitch - "assuming" by Paul "LeoNerd" Evans
- Re: Elevator pitch - "assuming" by Smylers
- Re: Elevator pitch - "assuming" by Paul "LeoNerd" Evans
**Re: Elevator pitch - "assuming"**by Paul "LeoNerd" Evans- Re: Elevator pitch - "assuming" by Neil Bowers
- Re: Elevator pitch - "assuming" by Oodler 577 via perl5-porters
- Re: Elevator pitch - "assuming" by Paul "LeoNerd" Evans
- Re: Elevator pitch - "assuming" by Darren Duncan
- Re: Elevator pitch - "assuming" by David Nicol
- Re: Elevator pitch - "assuming" by Eirik Berg Hanssen
- Re: Elevator pitch - "assuming" by Martijn Lievaart
- Re: Elevator pitch - "assuming" by Tom Molesworth via perl5-porters
- Re: Elevator pitch - "assuming" by Martijn Lievaart
- Re: Elevator pitch - "assuming" by Veesh Goldman
- Re: Elevator pitch - "assuming" by Felipe Gasper
- Re: Elevator pitch - "assuming" by Mark Gardner
- Re: Elevator pitch - "assuming" by Tony Cook
- Re: Elevator pitch - "assuming" by Mark Gardner
- Re: Elevator pitch - "assuming" by demerphq
- Re: Elevator pitch - "assuming" by Mark Gardner
- Re: Elevator pitch - "assuming" by Martijn Lievaart
- Re: Elevator pitch - "assuming" by Eirik Berg Hanssen

nntp.perl.org: Perl Programming lists via nntp and http.

Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About