Otherwise they can't get at other variables in the current namespace, whereas a Sass function can. Also can't get at compilation-local data or current options.
This will be a breaking change to @register, but that can be averted if it's implemented at the same time as #132 with a new API (that also divines arguments and specifies types and so forth).
Might be related to #133, in that the current "compilation" is a useful thing to expose to a function as well.
Otherwise they can't get at other variables in the current namespace, whereas a Sass function can. Also can't get at compilation-local data or current options.
This will be a breaking change to
@register
, but that can be averted if it's implemented at the same time as #132 with a new API (that also divines arguments and specifies types and so forth).Might be related to #133, in that the current "compilation" is a useful thing to expose to a function as well.