chicken-janitors
[Top][All Lists]
Advanced

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

Re: [Chicken-janitors] #1154: error using 'bindings' egg from an 'includ


From: Chicken Trac
Subject: Re: [Chicken-janitors] #1154: error using 'bindings' egg from an 'included' script
Date: Sat, 20 Sep 2014 16:28:25 -0000

#1154: error using 'bindings' egg from an 'included' script
----------------------+-----------------------------------------------------
  Reporter:  retroj   |       Owner:         
      Type:  defect   |      Status:  closed 
  Priority:  major    |   Milestone:  someday
 Component:  unknown  |     Version:  4.9.x  
Resolution:  fixed    |    Keywords:         
----------------------+-----------------------------------------------------
Changes (by juergen):

  * status:  new => closed
  * resolution:  => fixed


Comment:

 Replying to [comment:2 retroj]:

 This is neither a bug of Chicken nor of the bindings egg.

 Chicken needs the library bindings to do its work.

 So the following will do in

 test-case.scm:
 --------------
 (require-library bindings)
 (import scheme chicken extras)
 (include "script-that-uses-bindings.scm")

 and in

 script-that-uses-bindings.scm:
 ------------------------------
 (import bindings)
 (pp (bind (a b c) (list 1 2 3) (list c b a)))

 as well as in

 binding-egg-inside-of-module.scm:
 ---------------------------------
 (module bindings-in-a-module-test-case *
   (import chicken scheme bindings extras)
   (pp (bind (a b c) (list 1 2 3) (list b c a))))

-- 
Ticket URL: <http://bugs.call-cc.org/ticket/1154#comment:3>
CHICKEN Scheme <http://www.call-with-current-continuation.org/>
CHICKEN Scheme is a compiler for the Scheme programming language.

reply via email to

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