From 189eb0cdd6429f46453b1282cc540d2b3654fb8f Mon Sep 17 00:00:00 2001 From: Mike Gerwitz Date: Mon, 1 Dec 2014 01:20:29 -0500 Subject: [PATCH] Partial applications now defined in terms of ref mutators --- src/apply/partial.xsl | 69 +++++++++++-------------------------- test/apply/partial-test.xsl | 6 ++-- test/apply/partial.xspec | 49 +++++++++++++------------- 3 files changed, 47 insertions(+), 77 deletions(-) diff --git a/src/apply/partial.xsl b/src/apply/partial.xsl index 98700be..e078163 100644 --- a/src/apply/partial.xsl +++ b/src/apply/partial.xsl @@ -55,57 +55,32 @@ - - - - - - - - - - - + select="f:arity( $fnref )" /> - - - - - - - + select="$fnref"> + + - - + - - - - - - - + @@ -149,24 +124,18 @@ match="f:ref" priority="1"> - - + - - @@ -183,14 +152,16 @@ are supported}. This should be enough. --> - - + - + + - + diff --git a/test/apply/partial-test.xsl b/test/apply/partial-test.xsl index 99dfadd..bdb0422 100644 --- a/test/apply/partial-test.xsl +++ b/test/apply/partial-test.xsl @@ -41,8 +41,10 @@