Currently it's impossible to simply express, that one doesn't want to mention an attribute in some cases, but does want to in other cases anchor(_class=%c ? c : none){ .... This might be easily achieved by enhancing the interface of each code section method argument with |none with the following semantics:
anchor(href=none){} -> <a></a>
anchor(href=5){} -> <a href="5"></a>
none could be also used with the same semantics for return values of code section methods:
anchor { "" } -> <a></a>
anchor {} -> anchor { none } ->
But this use for whole tags seems slightly odd, even though it's handy.
Currently it's impossible to simply express, that one doesn't want to mention an attribute in some cases, but does want to in other cases
anchor(_class=%c ? c : none){ .... This might be easily achieved by enhancing the interface of each code section method argument with|nonewith the following semantics:anchor(href=none){}-><a></a>anchor(href=5){}-><a href="5"></a>nonecould be also used with the same semantics for return values of code section methods:anchor { "" }-><a></a>anchor {}->anchor { none }->But this use for whole tags seems slightly odd, even though it's handy.