Re: [Chicken-users] SRFI-42 and Importing in Chicken 4

2008-12-16 Thread felix winkelmann
On Tue, Dec 16, 2008 at 10:55 AM, Jack Trades wrote: > >> Looking at the svn repos it seems that srfi-42 isn't ported to 4 yet. >> Feel free to help out porting it :) > > I would definitely be interested in helping to port it, but I wouldn't know > where to start. I'm still pretty new to Chicken

Re: [Chicken-users] SRFI-42 and Importing in Chicken 4

2008-12-16 Thread felix winkelmann
On Tue, Dec 16, 2008 at 10:40 AM, Peter Bex wrote: > On Tue, Dec 16, 2008 at 09:45:31AM +0100, felix winkelmann wrote: >> > I'm not sure if chicken-setup is still the preferred way to install >> > eggs. I think Felix wrote a new tool, but I haven't tried it out yet >> > because chicken-setup still

Re: [Chicken-users] SRFI-42 and Importing in Chicken 4

2008-12-16 Thread Jack Trades
> Looking at the svn repos it seems that srfi-42 isn't ported to 4 yet. > Feel free to help out porting it :) > I would definitely be interested in helping to port it, but I wouldn't know where to start. I'm still pretty new to Chicken and Scheme in general. Jack Trades _

Re: [Chicken-users] SRFI-42 and Importing in Chicken 4

2008-12-16 Thread Peter Bex
On Tue, Dec 16, 2008 at 09:45:31AM +0100, felix winkelmann wrote: > > I'm not sure if chicken-setup is still the preferred way to install > > eggs. I think Felix wrote a new tool, but I haven't tried it out yet > > because chicken-setup still works fine for me (but I install from the > > subversion

Re: [Chicken-users] SRFI-42 and Importing in Chicken 4

2008-12-16 Thread felix winkelmann
On Tue, Dec 16, 2008 at 9:06 AM, Peter Bex wrote: > On Mon, Dec 15, 2008 at 07:16:11PM -0600, Jack Trades wrote: >> I think I've got it. So this is the correct way of importing? >> >> (require-library srfi-1) >> >> (module test (t d) >> (import scheme) >> (import (prefix srfi-1 lists.)) >> >>

Re: [Chicken-users] SRFI-42 and Importing in Chicken 4

2008-12-16 Thread Peter Bex
On Mon, Dec 15, 2008 at 07:16:11PM -0600, Jack Trades wrote: > I think I've got it. So this is the correct way of importing? > > (require-library srfi-1) > > (module test (t d) > (import scheme) > (import (prefix srfi-1 lists.)) > > (define (t aList) (lists.take aList 3)) > (define (d a

Re: [Chicken-users] SRFI-42 and Importing in Chicken 4

2008-12-15 Thread Jack Trades
I think I've got it. So this is the correct way of importing? (require-library srfi-1) (module test (t d) (import scheme) (import (prefix srfi-1 lists.)) (define (t aList) (lists.take aList 3)) (define (d aList) (lists.drop aList 3))) However I still can't seem to install srfi-42. It

Re: [Chicken-users] SRFI-42 and Importing in Chicken 4

2008-12-15 Thread Peter Bex
On Mon, Dec 15, 2008 at 04:03:01PM -0600, Jack Trades wrote: > I just got Chicken 4 compiled and am having some problems with importing. > > #;1> (import srfi-1) > ; loading /usr/local/lib/chicken/4/srfi-1.import.so ... > #;2> (take '(1 2 3) 2) > Error: unbound variable: take > > The docs say "Im

[Chicken-users] SRFI-42 and Importing in Chicken 4

2008-12-15 Thread Jack Trades
I just got Chicken 4 compiled and am having some problems with importing. #;1> (import srfi-1) ; loading /usr/local/lib/chicken/4/srfi-1.import.so ... #;2> (take '(1 2 3) 2) Error: unbound variable: take The docs say "Importing a module does not load or link it - this is a separate operation from