diff --git a/doc/dom.txt b/doc/dom.txt index 2cccb325..805ccd81 100644 --- a/doc/dom.txt +++ b/doc/dom.txt @@ -48,5 +48,7 @@ All DOM references have this form: - The above needs to support overlapping tags. - The above does not support totals, as this would turn DOM references into a -query language. Instead, a 'sum' command could do this. + query language. Instead, a 'sum' command could do this. The rules.txt doc + already mentions built-in functions. + diff --git a/doc/rules.txt b/doc/rules.txt index fa827299..eef3c14b 100644 --- a/doc/rules.txt +++ b/doc/rules.txt @@ -198,16 +198,6 @@ are used by almost every command. [More TBD] -Built-in Functions ------------------- -There are several built-in functions, which may be used by rules: - - error("...") Emits and terminates - warning("...") Emits and continues - info("...") Emits and continues - sum_week("tag1") Sums minutes in the current week for "tag1" - - --- Raw Notes --- - Need to distinguish between regular time and over time, with different rates @@ -221,3 +211,13 @@ There are several built-in functions, which may be used by rules: - Need to distinguish between rules that will be supported at 1.0.0, and the long term enhancements. + +- There will need to be several built-in functions, for use by rules: + + error("...") Emits and terminates + warning("...") Emits and continues + info("...") Emits and continues + sum_week("tag1") Sums minutes in the current week for "tag1" + + These are not good examples. +