www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

commit 75603def150b131c508c95406be21872844754fc
parent 416c1123a7043eaf08e803cf91317b49f030fc18
Author: Georges Dupéron <georges.duperon@gmail.com>
Date:   Mon, 11 Nov 2019 17:45:09 -0500

Merge pull request #2 from samth/patch-1

Fix struct property typechecking
Diffstat:
Mmain.rkt | 8++++----
1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/main.rkt b/main.rkt @@ -55,9 +55,9 @@ (define/with-syntax ComparerType-Equal (maybe-∀2 #'(→ ins ins2 (→ Any Any Boolean) Any))) (define/with-syntax ComparerType-Hash1 - (maybe-∀ #'(→ ins (→ Any Fixnum) Fixnum))) + (maybe-∀ #'(→ ins (→ Any Integer) Integer))) (define/with-syntax ComparerType-Hash2 - (maybe-∀ #'(→ ins (→ Any Fixnum) Fixnum))) + (maybe-∀ #'(→ ins (→ Any Integer) Integer))) (define/with-syntax ComparerType #'(List ComparerType-Equal ComparerType-Hash1 @@ -102,10 +102,10 @@ #'(→ ins ins2 (→ Any Any Boolean) Any))) (ann hash1 #,(maybe-∀ - #'(→ ins (→ Any Fixnum) Fixnum))) + #'(→ ins (→ Any Integer) Integer))) (ann hash2 #,(maybe-∀ - #'(→ ins (→ Any Fixnum) Fixnum))))] + #'(→ ins (→ Any Integer) Integer))))] [expr:expr #'expr])) #`(define eq+h-implementation (λ () equal+hash-ann)))))])))