A cool cabin

This commit is contained in:
2021-10-18 12:39:53 -04:00
parent 1006eea0c4
commit a472780c0f

View File

@@ -306,8 +306,9 @@ class SpecialForms {
};
map["try"] = (wholeExp:ReaderExp, args:Array<ReaderExp>, k:KissState) -> {
wholeExp.checkNumArgs(1, null, "(try [thing] [catches...])");
wholeExp.checkNumArgs(1, null, "(try <thing> <catches...>)");
var tryKissExp = args[0];
var catchKissExps = args.slice(1);
ETry(k.convert(tryKissExp), [
for (catchKissExp in catchKissExps) {