From 63487afa6786962e40e03743185a245684b82777 Mon Sep 17 00:00:00 2001 From: Mike Gerwitz Date: Wed, 26 Nov 2014 16:28:29 -0500 Subject: [PATCH] `f:apply' currying support Partial application support on all the other `f:apply' functions (other arities) will be completed in the next commit. --- src/apply.xsl | 13 +++++++------ test/apply.xspec | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 55 insertions(+), 6 deletions(-) diff --git a/src/apply.xsl b/src/apply.xsl index f7130b5..d96db5f 100644 --- a/src/apply.xsl +++ b/src/apply.xsl @@ -30,7 +30,7 @@ xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:f="http://www.lovullo.com/hoxsl/apply"> - + @@ -40,18 +40,19 @@ + + - + - - - + - + diff --git a/test/apply.xspec b/test/apply.xspec index 920ca33..9262024 100644 --- a/test/apply.xspec +++ b/test/apply.xspec @@ -215,6 +215,54 @@ and $x:result[ 9 ] is $args/foo:arg8" /> + + + + + + + + + + + + + + + + + +