Re: Double wildcard "re-exports"... off-limits forever?

2020-02-14 Thread Ben Wiley
; > ``` > > Em sex., 14 de fev. de 2020 às 01:02, Ben Wiley > escreveu: > >> Apologies if this has already been talked about at length at some point. >> I was unable to find much in the way of relevant discussions. >> >> I found a compelling use case for something

Re: Double wildcard "re-exports"... off-limits forever?

2020-02-14 Thread Augusto Moura
se for something which seems to be off-limits > in the JavaScript language, that is wildcard re-exporting where the same > export name appears in multiple of the export-forwarded imports. > > e.g. > ``` > // a.js > export const a = 1; > > // b.js > export const b = 2; &

Re: Double wildcard "re-exports"... off-limits forever?

2020-02-14 Thread Ben Wiley
>> wrote: >> >>> Apologies if this has already been talked about at length at some point. >>> I was unable to find much in the way of relevant discussions. >>> >>> I found a compelling use case for something which seems to be off-limits >>> in

Re: Double wildcard "re-exports"... off-limits forever?

2020-02-14 Thread Guy Bedford
nd much in the way of relevant discussions. >> >> I found a compelling use case for something which seems to be off-limits >> in the JavaScript language, that is wildcard re-exporting where the same >> export name appears in multiple of the export-forwarded imports. >> &g

Re: Double wildcard "re-exports"... off-limits forever?

2020-02-13 Thread Jordan Harband
levant discussions. > > I found a compelling use case for something which seems to be off-limits > in the JavaScript language, that is wildcard re-exporting where the same > export name appears in multiple of the export-forwarded imports. > > e.g. > ``` > // a.js > export const a

Double wildcard "re-exports"... off-limits forever?

2020-02-13 Thread Ben Wiley
Apologies if this has already been talked about at length at some point. I was unable to find much in the way of relevant discussions. I found a compelling use case for something which seems to be off-limits in the JavaScript language, that is wildcard re-exporting where the same export name

Wildcard

2012-12-30 Thread Axel Rauschmayer
December 2012 12:50, Axel Rauschmayer a...@rauschma.de wrote: It would actually be nice to have that as a feature: If the variable name is `_` then it can be used multiple times. It’s a nice, self-descriptive way of saying that you don’t care about a parameter value. That underscore wildcard

Re: Wildcard

2012-12-30 Thread Claude Pache
-descriptive way of saying that you don’t care about a parameter value. That underscore wildcard is the exact syntax used in functional languages, and very useful, I agree. In JS, that syntax would be a breaking change, unfortunately. But we could use something else (e.g. I proposed