xmlns:f="http://mikegerwitz.com/hoxsl/apply"
Definition:
<function name="f:apply"> <param name="fnref" as="item()+" /> <sequence select="f:partial( $fnref, () )" /> </function>
xmlns:f="http://mikegerwitz.com/hoxsl/apply"
Definition:
<function name="f:apply"> <param name="fnref" as="item()+" /> <param name="arg1" /> <sequence select="f:partial( $fnref, $arg1 )" /> </function>
xmlns:f="http://mikegerwitz.com/hoxsl/apply"
Definition:
<function name="f:apply"> <param name="fnref" as="item()+" /> <param name="arg1" /> <param name="arg2" /> <sequence select="f:partial( $fnref, ($arg1, $arg2) )" /> </function>
xmlns:f="http://mikegerwitz.com/hoxsl/apply"
Definition:
<function name="f:apply"> <param name="fnref" as="item()+" /> <param name="arg1" /> <param name="arg2" /> <param name="arg3" /> <sequence select="f:partial( $fnref, ($arg1, $arg2, $arg3) )" /> </function>
xmlns:f="http://mikegerwitz.com/hoxsl/apply"
Definition:
<function name="f:apply"> <param name="fnref" as="item()+" /> <param name="arg1" /> <param name="arg2" /> <param name="arg3" /> <param name="arg4" /> <sequence select="f:partial( $fnref, ($arg1, $arg2, $arg3, $arg4) )" /> </function>
xmlns:f="http://mikegerwitz.com/hoxsl/apply"
Definition:
<function name="f:apply"> <param name="fnref" as="item()+" /> <param name="arg1" /> <param name="arg2" /> <param name="arg3" /> <param name="arg4" /> <param name="arg5" /> <sequence select="f:partial( $fnref, ($arg1, $arg2, $arg3, $arg4, $arg5) )" /> </function>
xmlns:f="http://mikegerwitz.com/hoxsl/apply"
Definition:
<function name="f:apply"> <param name="fnref" as="item()+" /> <param name="arg1" /> <param name="arg2" /> <param name="arg3" /> <param name="arg4" /> <param name="arg5" /> <param name="arg6" /> <sequence select="f:partial( $fnref, ($arg1, $arg2, $arg3, $arg4, $arg5, $arg6) )" /> </function>
xmlns:f="http://mikegerwitz.com/hoxsl/apply"
Definition:
<function name="f:apply"> <param name="fnref" as="item()+" /> <param name="arg1" /> <param name="arg2" /> <param name="arg3" /> <param name="arg4" /> <param name="arg5" /> <param name="arg6" /> <param name="arg7" /> <sequence select="f:partial( $fnref, ($arg1, $arg2, $arg3, $arg4, $arg5, $arg6, $arg7) )" /> </function>
xmlns:f="http://mikegerwitz.com/hoxsl/apply"
Definition:
<function name="f:apply"> <param name="fnref" as="item()+" /> <param name="arg1" /> <param name="arg2" /> <param name="arg3" /> <param name="arg4" /> <param name="arg5" /> <param name="arg6" /> <param name="arg7" /> <param name="arg8" /> <sequence select="f:partial( $fnref, ($arg1, $arg2, $arg3, $arg4, $arg5, $arg6, $arg7, $arg8) )" /> </function>
Abort processing on unknown function reference
This will occur if no application template is defined for the given function reference. Override it if you wish to perform autoloading or what have you.
If you generate the nullary and application template using apply-gen, then you won’t have to worry about this.
<template mode="f:apply" match="*" priority="1"> <message terminate="yes"> <text>error: cannot apply unknown function reference: </text> <copy-of select="." /> </message> </template>
• Partial Application: | Partial function application and currying | |
• Thrush: | Organizing function calls into a pipeline | |
• Ref API: | Low-level interface to hoxsl functions |