diff options
author | olpc user <olpc@xo-5d-f7-86.localdomain> | 2019-12-21 08:34:50 -0800 |
---|---|---|
committer | olpc user <olpc@xo-5d-f7-86.localdomain> | 2019-12-21 08:34:50 -0800 |
commit | e720dfea4d7b07cbeb5312dbfd6940fd7fa29633 (patch) | |
tree | 1db313595ac31d6f647f8fee0c117eb845ff2f09 /starts/meaning-vm/level-2/funcs.hpp | |
parent | 8ab69b673852971103e89eafa15a1dc6385b56ce (diff) | |
download | standingwithresilience-e720dfea4d7b07cbeb5312dbfd6940fd7fa29633.tar.gz standingwithresilience-e720dfea4d7b07cbeb5312dbfd6940fd7fa29633.zip |
=S default assumptions for habit macro
Diffstat (limited to 'starts/meaning-vm/level-2/funcs.hpp')
-rw-r--r-- | starts/meaning-vm/level-2/funcs.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/starts/meaning-vm/level-2/funcs.hpp b/starts/meaning-vm/level-2/funcs.hpp index d1d1d7d..cd32fc4 100644 --- a/starts/meaning-vm/level-2/funcs.hpp +++ b/starts/meaning-vm/level-2/funcs.hpp @@ -9,8 +9,8 @@ namespace intellect { namespace level2 { ref & context(); -// TODO: pass default argument values to makehabit? -ref makehabit(ref name, std::initializer_list<ref> argnames, std::function<void(ref)> code); +ref makehabit(ref name, std::initializer_list<ref> infonames, std::function<void(ref)> code); +void habitassume(ref habit, ref information, ref value); ref dohabit(ref habit, std::initializer_list<ref> args = {}); ref dohabit(ref habit, std::initializer_list<std::initializer_list<ref>> args); |