From aaec536cf55b335d7065aa67e61b4905801ae407 Mon Sep 17 00:00:00 2001 From: "William J. Bowman" Date: Tue, 20 Jan 2015 00:55:23 -0500 Subject: [PATCH] Fixed bad calls to terminates? --- redex-core.rkt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/redex-core.rkt b/redex-core.rkt index 4764f36..cd88eb2 100644 --- a/redex-core.rkt +++ b/redex-core.rkt @@ -331,9 +331,9 @@ terminates? : t -> #t or #f [(terminates? t) #t]) (module+ test - (check-false (terminates? (μ (x : Type) x))) - (check-false (terminates? (μ (x : Type) (λ (y : Type) (x y))))) - (check-true (terminates? (μ (x : Type) (λ (y : Type) y))))) + (check-false (term (terminates? (μ (x : Type) x)))) + (check-false (term (terminates? (μ (x : Type) (λ (y : Type) (x y)))))) + (check-true (term (terminates? (μ (x : Type) (λ (y : Type) y)))))) (define-judgment-form cic-typingL #:mode (types I I I O)