Cleanup, added stats targets
[jackhill/mal.git] / kotlin / src / mal / step7_quote.kt
index 898db5c..9dc0de9 100644 (file)
@@ -27,7 +27,7 @@ fun eval(_ast: MalType, _env: Env): MalType {
                 ast = ast.nth(2)
             } else if (first is MalSymbol && first.value == "fn*") {
                 val binds = ast.nth(1) as? ISeq ?: throw MalException("fn* requires a binding list as first parameter")
-                val params = binds.seq().filterIsInstance<MalSymbol>() // TODO error if any non-symbols?
+                val params = binds.seq().filterIsInstance<MalSymbol>()
                 val body = ast.nth(2)
 
                 return MalFnFunction(body, params, env, { s: ISeq ->