Better lambdas!!!!!!!!!!

Russel Winder via Digitalmars-d digitalmars-d at puremagic.com
Fri Sep 11 04:44:03 PDT 2015


On Fri, 2015-09-11 at 11:32 +0000, ZombineDev via Digitalmars-d wrote:
> On Friday, 11 September 2015 at 08:02:21 UTC, Russel Winder wrote:
> > On Thu, 2015-09-10 at 20:51 +0000, Adam D. Ruppe via 
> > Digitalmars-d wrote:
> > > […]
> > > 
> > > The string lambdas Phobos supports basically does this:
> > > 
> > > `b < a*b`
> > > 
> > > would work in there. These are falling out of favor with the 
> > > new syntax in the language, but they are still supported by 
> > > most the library.
> > 
> > And until some bugs get fixed, you have to use string functions 
> > in some places, you cannot use proper function literals :-(
> 
> Can you elaborate? Are those bugs logged somewhere?

For example https://issues.dlang.org/show_bug.cgi?id=5710

The affects a number of the std.parallelism functions :-(

-- 
Russel.
=============================================================================
Dr Russel Winder      t: +44 20 7585 2200   voip: sip:russel.winder at ekiga.net
41 Buckmaster Road    m: +44 7770 465 077   xmpp: russel at winder.org.uk
London SW11 1EN, UK   w: www.russel.org.uk  skype: russel_winder

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: This is a digitally signed message part
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20150911/31699474/attachment.sig>


More information about the Digitalmars-d mailing list