Axel Rauschmayer wrote:
I like `use fn`, but it’s not yet clear to me how it interacts with modules (including, possibly, `use module`)

use module;

was withdrawn.

use fn;

is just a pragma to make fn short for function. You can still write 'function' out.

. I would prefer to have an “all inclusive” version of ES.next that includes `use fn`, on which to build ES.next.next. But I don’t know what that would mean for legacy code, so `use fn` might have to be an orthogonal feature.

It *should* be orhogonal.

Remember, 1JS means no version opt-in. New syntax opts into its semantics (new or not -- shorthands ok too).

/be
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to