add if alias for ifelse function
This commit is contained in:
parent
44853b0e1d
commit
edbd51b450
|
@ -995,6 +995,7 @@ void lispenv_add_builtins(lispenv* env)
|
||||||
lispenv_add_builtin("def", builtin_def, env);
|
lispenv_add_builtin("def", builtin_def, env);
|
||||||
lispenv_add_builtin("@", builtin_define_lambda, env);
|
lispenv_add_builtin("@", builtin_define_lambda, env);
|
||||||
lispenv_add_builtin("ifelse", builtin_ifelse, env);
|
lispenv_add_builtin("ifelse", builtin_ifelse, env);
|
||||||
|
lispenv_add_builtin("if", builtin_ifelse, env);
|
||||||
lispenv_add_builtin("=", builtin_equal, env);
|
lispenv_add_builtin("=", builtin_equal, env);
|
||||||
lispenv_add_builtin(">", builtin_greater_than, env);
|
lispenv_add_builtin(">", builtin_greater_than, env);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user