chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-users] Re: Questions about modules


From: Jack Trades
Subject: Re: [Chicken-users] Re: Questions about modules
Date: Fri, 19 Jun 2009 12:49:18 -0400

On Fri, Jun 19, 2009 at 3:33 AM, felix winkelmann <address@hidden> wrote:

Please try the current trunk - the prefixed import issue is possibly
resolved (I also generated a new bootstrapping tarball).

Version 4.0.7 - SVN rev. 15037

define-values works now, however condition-case and 'and' still do not work as shown below.


;;_________________;;
;; condition-case
;;_________________;;

;; This fails
(module test (a)
(import scheme (prefix chicken c.))

(define (a x y)
  (c.condition-case (+ x y) ((c.exn) "not numbers")))
)
Warning: reference to possibly unbound identifier: with-exception-handler


;; This also fails
(module test (a)
(import (prefix scheme s.) (prefix chicken c.))

(s.define (a x y)
  (c.condition-case (s.+ x y) ((c.exn) "not numbers")))
)
Warning: reference to possibly unbound identifier: else

Warning: reference to possibly unbound identifier: memv

Warning: reference to possibly unbound identifier: and

Warning: reference to possibly unbound identifier: cond

Warning: reference to possibly unbound identifier: with-exception-handler

Warning: reference to possibly unbound identifier: call-with-current-continuation


;;_________________;;
;; and
;;_________________;;


;; This fails
(module test (a)
(import (prefix scheme s.))
(s.define (a x y) (s.and x y)))
;;===> Warning: reference to possibly unbound identifier: and

;; This also fails
(module test (a)
(import (prefix scheme s.))
(s.define (a x y) (and x y)))
;;===> Warning: reference to possibly unbound identifier: and


Jack Trades

reply via email to

[Prev in Thread] Current Thread [Next in Thread]