From 1d4c0a0474f8934aa989c1a03e6fd8f63cd9c899 Mon Sep 17 00:00:00 2001 From: Jose Antonio Ortega Ruiz Date: Sun, 28 Mar 2010 06:58:12 +0200 Subject: PLT: Correct version check. --- scheme/plt/geiser.ss | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) (limited to 'scheme') diff --git a/scheme/plt/geiser.ss b/scheme/plt/geiser.ss index a86b6a9..4df9b51 100644 --- a/scheme/plt/geiser.ss +++ b/scheme/plt/geiser.ss @@ -11,13 +11,14 @@ ;;; Code: -(require version/utils) -(unless (version<=? "4.1.5.5" (version)) - (error 'geiser - "Mzscheme version 4.1.5.5 or better required (found ~a)" - (version))) - (module geiser scheme + + (require version/utils) + (unless (version<=? "4.2" (version)) + (error 'geiser + "Mzscheme version 4.2 or better required (found ~a)" + (version))) + (provide geiser:eval geiser:compile geiser:load-file @@ -55,6 +56,4 @@ (current-prompt-read (compose (make-repl-reader (current-prompt-read)) current-namespace))) -(require 'geiser) - ;;; geiser.ss ends here -- cgit v1.2.3