chicken-users
[Top][All Lists]
Advanced

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

Re: [Chicken-users] my first chicken 4 modules ;)


From: felix winkelmann
Subject: Re: [Chicken-users] my first chicken 4 modules ;)
Date: Tue, 27 May 2008 09:34:47 +0200

On Tue, May 27, 2008 at 7:02 AM, Jim Ursetto <address@hidden> wrote:
> Attached are my first stabs at working with Chicken 4.
>
> foreign-records.egg provides define-foreign-record-type, which is really
> similar to define-foreign-record, but requires the user to specify the 
> accessor
> and modifier names--just like define-record-type.
>
> hostinfo.egg is a port of hostinfo to the chicken 4 module system as it
> currently stands.  It requires foreign-records.  chicken-setup installs both
> fine; however, you will need to rebuild the hygienic branch with itself
> for chicken-setup to work.
>
> All in all, pretty straightforward--only real trouble I had was figuring out
> how to import define-record-type into a module (answer: (import chicken)).
>
> Oh, I also patched define-record-printer in the hygienic branch, so you might
> need to svn up.

Excellent, excellent. Please stay tuned and we can create the repo-branch
soon. I'll also add a note to the manual.


cheers,
felix




reply via email to

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