diff options
author | user <user@localhost.localdomain> | 2019-12-21 06:45:50 -0800 |
---|---|---|
committer | user <user@localhost.localdomain> | 2019-12-21 06:45:50 -0800 |
commit | 8ab69b673852971103e89eafa15a1dc6385b56ce (patch) | |
tree | f61be324b4ad223cd8e413a1e40f885a28de0460 /starts/meaning-vm/level-2/funcs.cpp | |
parent | 23641371d1a8f5700f629783f6b06b6d27fa70a2 (diff) | |
download | standingwithresilience-8ab69b673852971103e89eafa15a1dc6385b56ce.tar.gz standingwithresilience-8ab69b673852971103e89eafa15a1dc6385b56ce.zip |
wip
Diffstat (limited to 'starts/meaning-vm/level-2/funcs.cpp')
-rw-r--r-- | starts/meaning-vm/level-2/funcs.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/starts/meaning-vm/level-2/funcs.cpp b/starts/meaning-vm/level-2/funcs.cpp index e4fc090..36f93ca 100644 --- a/starts/meaning-vm/level-2/funcs.cpp +++ b/starts/meaning-vm/level-2/funcs.cpp @@ -17,7 +17,7 @@ ref & context() return ctx; } -ref makehabit(ref name, std::initializer_list<ref> argnames, std::function<void(ref)> code) +ref makehabit(ref name, std::initializer_list<ref> argnames, std::initializer_list<ref> defaults, std::function<void(ref)> code) { ref habit = level1::a(concepts::habit, name); ref posarg = habit; |