X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=TODO;h=7cbf9f56757c0cbc232529a13171e323d4c3a91d;hb=00dfdab0481c531b8608a157dc4c4991f319d7f7;hp=4d74fe352d980816e45f6a491eaa53e4b4729fa9;hpb=77f9b77c4f58dc4f149050e1d4a0ee36f91d8493;p=goals.git diff --git a/TODO b/TODO index 4d74fe3..7cbf9f5 100644 --- a/TODO +++ b/TODO @@ -8,10 +8,6 @@ might allow goals to be called with labelled parameters. Fix: You must use 'all ()' on the command line. -"Quiet" code. Generally {CODE} sections in user files should be -echos, and those in stdlib should run silently (except if debugging). -Maybe we should have a quiet keyword to indicate this? - Deleting target files if goals is interrupted, but only if the timestamp changes (what about non-*files?). Also: atomic code. This will delete the target if the code doesn't run to completion. (make @@ -39,7 +35,7 @@ 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. +Infinite loop when you have this goal: +goal pod2man (page, section) = "docs/%page.%section" : "docs/%page.pod" { ... } +This is caused by %section matching "pod" so the rule is called +again, even if the local file docs/%page.pod actually exists.