From 2b6ef6e7f42fd7b6cf8f6c42ca418ce475835ef4 Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Sun, 12 Jan 2020 22:14:29 +0000 Subject: [PATCH] Update notes on goals. --- 2020-goals/notes.txt | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) 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") -- 1.8.3.1