Re: versioning - how to request different 'ver' per 'auth'?

2015-06-11 Thread Darren Duncan
Please get the #perl6 consensus then. I had suspected the answer would be that the solution would be the :ver code being able to see what :auth was selected and dispatch based on that. Otherwise supporting the wider version declaration to have a tree structure, where :ver was embedded inside

Re: versioning - how to request different 'ver' per 'auth'?

2015-06-11 Thread Tobias Leich
Hi, that is a very interesting use case, and IMO a very valid one. Currently the semantics are, to also explain the correct syntax of the pair that follows a 'use NAME': :authBar and :ver1.2 etc are of type Pair. Wenn the compiler hits a use statement, it smartmatches the distribution's

versioning - how to request different 'ver' per 'auth'?

2015-06-10 Thread Darren Duncan
So I have a question about versioning, either/especially about compilation units, but also Perl 6 itself. For context I refer to http://design.perl6.org/S11.html#Versioning . With regard to use statements and specifying 'auth' or 'ver' to restrict between versions, it seems to me that the