Update notes on goals.
authorRichard W.M. Jones <rjones@redhat.com>
Sun, 12 Jan 2020 22:14:29 +0000 (22:14 +0000)
committerRichard W.M. Jones <rjones@redhat.com>
Sun, 12 Jan 2020 22:14:29 +0000 (22:14 +0000)
2020-goals/notes.txt

index 68604c6..685a2b5 100644 (file)
@@ -206,3 +206,23 @@ SCREENSHOT OF ZINC PAPER
  - Dependencies have implicit & operator, could we use | and ! operators?
    What would that mean?  Build targets in several different ways?
    Fallback if a tool isn't available?
+
+
+
+TO-DO
+
+ - Types other than strings.  Int and bool would be useful.  However
+   this also implies that we should do type inference and/or checking.
+
+ - Default arguments
+
+    goal build (project, bool release = true) = ...
+    build ("foo")
+    build ("foo", false)
+
+ - Anonymous functions
+
+    let hello = { echo "hello" }
+
+    let f = function (name, version) { CODE }
+    f ("goals", "0.1")