std lib load code reformat

This commit is contained in:
VaclavT 2021-03-07 19:12:30 +01:00
parent 01a16802da
commit e0ec884394
1 changed files with 11 additions and 10 deletions

3
ml.cpp
View File

@ -1633,7 +1633,8 @@ void repl(MlEnvironment &env) {
} }
void load_std_lib(MlEnvironment &env) { void load_std_lib(MlEnvironment &env) {
std::string loader = R"( (define ___lib_path '("/usr/local/var/mlisp")) std::string loader =
R"( (define ___lib_path '("/usr/local/var/mlisp"))
(for d ___lib_path (for d ___lib_path
(if (is-dir? d) (if (is-dir? d)
(for f (ls-dir d) (for f (ls-dir d)