summaryrefslogtreecommitdiff
path: root/starts/meaning-vm/habit-starts/learning-parts.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'starts/meaning-vm/habit-starts/learning-parts.hpp')
-rw-r--r--starts/meaning-vm/habit-starts/learning-parts.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/starts/meaning-vm/habit-starts/learning-parts.hpp b/starts/meaning-vm/habit-starts/learning-parts.hpp
index 59fe5ab..e3a3ccc 100644
--- a/starts/meaning-vm/habit-starts/learning-parts.hpp
+++ b/starts/meaning-vm/habit-starts/learning-parts.hpp
@@ -9,7 +9,7 @@ namespace habitstarts {
// stop doing B whenever A happens.
// when A happens, do B once.
-decl(action, happens, context);
+decl(action); decl(happens); decl(context);
decl(happened); // happened-habit(ctx) performs actions associated with ctx[happens]
decl(whenever); // whenever-habit(ctx) stores to do ctx[action] when ctx[happens] happens
// providing ctx[action-context]