Changed 'print' to 'pp'.

This commit is contained in:
yhirose 2015-05-28 21:51:58 -04:00
parent f3f73e5c35
commit 8d2aeabb32

View File

@ -178,14 +178,14 @@ struct Env
} }
void setup_built_in_functions() { void setup_built_in_functions() {
auto func_print = Value::FunctionValue { auto func_pretty_print = Value::FunctionValue {
{ "arg" }, { "arg" },
[](Env& env) { [](Env& env) {
std::cout << env.get("arg") << std::endl; std::cout << env.get("arg") << std::endl;
return Value(); return Value();
} }
}; };
set("print", Value(func_print)); set("pp", Value(func_pretty_print));
} }
private: private: