Pure higher order functions
Daniel Murphy
yebblies at nospamgmail.com
Sat Jul 9 22:01:57 PDT 2011
"bearophile" <bearophileHUGS at lycos.com> wrote in message
news:iva7iv$b6v$1 at digitalmars.com...
>> Still, it should make construction of immutable structures without
>> casting a lot easier.
>
> I presume you mean something like this ("function" is currently required
> if you want to add "pure" too):
>
Or use a nested function. Either way, no casting or assumeUnique required.
function shouldn't be required once
http://d.puremagic.com/issues/show_bug.cgi?id=3235 is fixed.
> 3827 automatic joining of adjacent strings is bad [partial patch present]
The patch for this seems solid, I might make a pull for it after the
release.
> 5409 Disallow (!x & y)
This seems like it would require modifying the parser, which I'm not
particularly good at yet. Maybe later.
More information about the Digitalmars-d
mailing list