diff options
Diffstat (limited to 'starts/meaning-vm/level-2/funcs.hpp')
-rw-r--r-- | starts/meaning-vm/level-2/funcs.hpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/starts/meaning-vm/level-2/funcs.hpp b/starts/meaning-vm/level-2/funcs.hpp index 52c041d..770ff0a 100644 --- a/starts/meaning-vm/level-2/funcs.hpp +++ b/starts/meaning-vm/level-2/funcs.hpp @@ -2,10 +2,15 @@ #include "common.hpp" +#include <functional> +#include <initializer_list> + namespace intellect { namespace level2 { ref context(); +ref makehabit(ref name, std::initializer_list<ref> argnames, std::function<void()> code); +ref dohabit(ref habit, std::initializer_list<ref> args); } } |