From: Richard W.M. Jones Date: Sun, 12 Jan 2020 22:14:29 +0000 (+0000) Subject: Update notes on goals. X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=2b6ef6e7f42fd7b6cf8f6c42ca418ce475835ef4;p=libguestfs-talks.git Update notes on goals. --- diff --git a/2020-goals/notes.txt b/2020-goals/notes.txt index 68604c6..685a2b5 100644 --- a/2020-goals/notes.txt +++ b/2020-goals/notes.txt @@ -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")