Splitting Ranges using Lambda Predicates

"Nordlöw" via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Thu Oct 9 22:54:58 PDT 2014


On Thursday, 9 October 2014 at 22:01:31 UTC, monarch_dodra wrote:
> My quick guess is you are missing the *global* imports for the 
> restraints. The compiler doesn't complain because the 
> constraint is in a "is(typeof(...))" test. The reason the 
> typeof fails is simply cause the compiler has no idea what 
> unaryFun is.

I don't understand. The restraints are commented out at

https://github.com/nordlow/justd/blob/master/slicer.d

I made a couple of changes and now it works but I don't quite 
understand why...

Thanks anyway.


More information about the Digitalmars-d-learn mailing list