aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArun Isaac2023-09-20 09:32:26 +0100
committerArun Isaac2023-09-20 09:32:26 +0100
commitd3e639f897aefb1c992e1864a9fc1aade31298d7 (patch)
tree6dff69cc2386c36ebc9e063d35659a560d3dec9b
parentc585ab433e38fb248ef4e0e040ab14f4230d3d2c (diff)
downloadccwl-d3e639f897aefb1c992e1864a9fc1aade31298d7.tar.gz
ccwl-d3e639f897aefb1c992e1864a9fc1aade31298d7.tar.lz
ccwl-d3e639f897aefb1c992e1864a9fc1aade31298d7.zip
ccwl: Add TODO to support commands in lexical scope.
* ccwl/ccwl.scm (function-object): Add TODO note to support commands (that is, function objects) defined in lexical scope.
-rw-r--r--ccwl/ccwl.scm1
1 files changed, 1 insertions, 0 deletions
diff --git a/ccwl/ccwl.scm b/ccwl/ccwl.scm
index 17cf27c..f380485 100644
--- a/ccwl/ccwl.scm
+++ b/ccwl/ccwl.scm
@@ -406,6 +406,7 @@ object or a <cwl-workflow> object."
"Return the ccwl function object (a <command> or a <cwl-workflow>
object) described by syntax X. If such a ccwl function is not defined,
return #f."
+ ;; TODO: What if function object is defined in lexical scope?
(let ((var (module-variable (current-module)
(syntax->datum x))))
(and var