should chain be pure

bearophile bearophileHUGS at lycos.com
Tue Oct 15 06:43:54 PDT 2013


Daniel Davidson:

> I would like to correctly annotate my functions with pure. I've 
> hit a function that is calling chain which breaks purity. Is 
> chain really not pure?

Phobos is slowly being annotated with pure/nothrow (and @safe) 
but not all functions are already tagged.

You could fix the problem sending a Phobos patch.

Bye,
bearophile


More information about the Digitalmars-d-learn mailing list