diff options
author | Aria Shrimpton <me@aria.rip> | 2024-02-07 20:19:47 +0000 |
---|---|---|
committer | Aria Shrimpton <me@aria.rip> | 2024-02-07 20:19:47 +0000 |
commit | 5a49e3034c6c387d5cbe2e549d1afa22b5a896a6 (patch) | |
tree | ce31b49b809e53fed48d4786e2efa42a9958a5a1 /src/racket_specs/indexable-setup.rkt | |
parent | 93c63b75a1095f7ad578d583ebda4d230fa9fce6 (diff) |
deal with more variables in racket specs
Diffstat (limited to 'src/racket_specs/indexable-setup.rkt')
-rw-r--r-- | src/racket_specs/indexable-setup.rkt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/racket_specs/indexable-setup.rkt b/src/racket_specs/indexable-setup.rkt index ddd6239..913544f 100644 --- a/src/racket_specs/indexable-setup.rkt +++ b/src/racket_specs/indexable-setup.rkt @@ -17,7 +17,7 @@ (assert (prop (car (spec xs n))))) -(define (check prop pres specs xs n) +(define (check prop pres specs xs n . rest) (cond [(or (unsat? (solve (check-not-contradict prop (first pres) xs))) (unsat? (solve (check-not-contradict prop (second pres) xs))) @@ -28,4 +28,4 @@ (unsat? (verify (check-spec-nth prop (third pres) (third specs) xs n))) )])) -(provide check)
\ No newline at end of file +(provide check) |