From 806ec0e8f03fab3ddc9ddb28b0914785d8f7bed5 Mon Sep 17 00:00:00 2001 From: Scott Richmond Date: Sat, 11 May 2024 23:25:20 -0400 Subject: [PATCH] moar validations --- janet/validate.janet | 3 +++ 1 file changed, 3 insertions(+) diff --git a/janet/validate.janet b/janet/validate.janet index 2b09693..1113699 100644 --- a/janet/validate.janet +++ b/janet/validate.janet @@ -13,5 +13,8 @@ Tracking here, before I start writing this code, the kinds of validation we're h * first-level property access with pkg, e.g. `Foo :bar`--bar must be on Foo * recur in tail position in `loop` forms * recur not called outside of `loop` forms +* arity checking where possible + - loop forms + - try to resolve function name, if you can, check arity of call )