From b2d87c531837c04df5501d65ad67a56a689f3eb5 Mon Sep 17 00:00:00 2001 From: Mike Gerwitz Date: Tue, 5 Jul 2016 23:57:59 -0400 Subject: [PATCH] Re-order graph:dep-lookup arguments to favor partial application * src/graph.xsl (graph:dep-lookup): Re-order arguments * test/graph.xspec: Updated accordingly --- src/graph.xsl | 10 ++++++---- test/graph.xspec | 39 ++++++++++++++++++++++----------------- 2 files changed, 28 insertions(+), 21 deletions(-) diff --git a/src/graph.xsl b/src/graph.xsl index 25fdad6f..7351cd76 100644 --- a/src/graph.xsl +++ b/src/graph.xsl @@ -223,11 +223,13 @@ From a graph perspective, the dependencies are edges on the @var{$symbol} vertex. + + Parameters are organized for partial application. --> - - + + diff --git a/test/graph.xspec b/test/graph.xspec index 209f9654..2b44b44a 100644 --- a/test/graph.xspec +++ b/test/graph.xspec @@ -192,13 +192,14 @@ - + + - + - + + - + - + + - + + - + + - +