[Top][All Lists]

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

[Chicken-users] SQLite3 bindings for CHICKEN 4

From: Thomas Chust
Subject: [Chicken-users] SQLite3 bindings for CHICKEN 4
Date: Wed, 5 Aug 2009 03:37:37 +0200


I finally got around to touch the code of the SQLite3 egg again: To
make it compatible with CHICKEN 4 I created a version without a
dependency on TinyCLOS, replacing classes with record types and
multimethods with regular procedures. I also wrapped the code in a
module and removed the "sqlite3:" prefix from variable names.

After removing the "sqlite3:" prefix from all variables I thought that
a few names had become too generic and changed them.

The transition from TinyCLOS multimethods to regular procedures has
the consequence that the logic of marshalling values between Scheme
and SQLite3 is now fixed. For technical reasons it also prompted me to
change the signature of fold-row moving the seed parameter before the
database or statement parameter -- this is more consistent with the
well known fold from SRFI-1 anyway.

The documentation and a download link for the egg's release candidate
can be found at

Try it out and please tell me if anything doesn't work or could be
improved in your opinion. I will place the egg in the official
repository once I feel more confident that the rather large changes
have really not broken anything and will not annoy all potential users


When C++ is your hammer, every problem looks like your thumb.

reply via email to

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