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:37:54 -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:         
----------------------+-----------------------------------------------------

Comment(by juergen):

 Replying to [comment:3 juergen]:
 > 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))))
 >

 Of  course, the first line in the last file should be

 (require-library bindings)

 I forgot that, sorry!

-- 
Ticket URL: <http://bugs.call-cc.org/ticket/1154#comment:4>
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]