filter!(not!(predicate))(someInputRange) does not compile

spir denis.spir at gmail.com
Thu Jan 20 06:39:41 PST 2011


On 01/20/2011 02:19 AM, Jens Mueller wrote:
> Thanks. Can you elaborate a bit please? I wonder why the alias won't
> work.

Because in your original version the alias line does not define a func, 
but a kind of constant symbol. A higher order func like filter expects a 
func as first arg, not a constant. (my 2 c)

denis
_________________
vita es estrany
spir.wikidot.com



More information about the Digitalmars-d mailing list