Embrace the from template?

Daniel N no at public.email
Sat Aug 25 08:24:56 UTC 2018


On Saturday, 25 August 2018 at 08:02:51 UTC, Jonathan Marler 
wrote:
>
> If we defined ':' as the special "from operator" then the 
> following would be equivalent:
>
> foo.bar:baz
> from!"foo.bar".baz
>

I agree with almost everything you wrote, but I think it would 
have to be double ::

foo.bar::baz

as otherwise it would be ambiguous with labels, consider the case 
with a flat hierarchy.

foo:baz



More information about the Digitalmars-d mailing list