Allow functions "returning strings" (etc), redefine sort function.
[goals.git] / TODO
diff --git a/TODO b/TODO
index e631e68..45b1880 100644 (file)
--- a/TODO
+++ b/TODO
@@ -28,4 +28,21 @@ Let within functions and goals, eg:
 Unclear if this would be helpful or not.
 
 Implement more make functions, see:
-https://www.gnu.org/software/make/manual/html_node/Functions.html#Functions
\ No newline at end of file
+https://www.gnu.org/software/make/manual/html_node/Functions.html#Functions
+
+Make re-execs itself if the Makefile (or any include) changes, and
+goals should do something similar.  See:
+https://www.gnu.org/software/make/manual/html_node/Remaking-Makefiles.html
+
+Code should be an expression, eg this ought to work:
+let foo = { echo "hello" }
+and/or anonymous functions:
+let foo = function (arg) { ... }
+
+Functions returning plain strings and lists of strings.
+function (foo, bar) returning string = { echo hello }
+function (foo, bar) returning strings = { echo hello; echo goodbye }
+Then re-add the sort function.
+
+Should the environment be populated by the actual environment, eg:
+let homedir = "%HOME"