1 Now that we have 'onrun' handlers, can we do the following on goal
4 - implicit memory_set via some sort of 'memoize' macro
6 - implicit check_target
8 Check and enforce there's only a single target per goal.
10 Multiple definitions of goals:
12 let goal file_exists filename when filename `starts_with` "/foo" ->
15 let goal file_exists filename when filename `starts_with` "/bar" ->
18 - Might be implemented something like this:
19 add_goal (`File_exists, fun patt -> raise Matches, fun patt -> expr)
20 then when we run goals, we check them against all patterns (how?)
21 and only if one matches to we run that function. Multi-matches are