3 ms·
<!-- SQUARE function --> <xsp:variable name="square" type="node"> <xsp:processing-instruction> <xsp:text value="{node() * node()}"/>
by pavelludiq 18y ago
<!-- SQUARE function -->
<xsp:variable name="square" type="node">
<xsp:processing-instruction>
<xsp:text value="{node() * node()}"/>
</xsp:processing-instruction>
</xsp:variable>
This is a one-liner in python and you can guess what it does without knowing python.
- eru 18y agoAnd in Forth: : square dup * ;