[Larceny-users] sqlite3 FFI

David Rush kumoyuki at gmail.com
Mon May 26 01:42:44 EDT 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sun, May 25, 2008 at 6:43 PM, Peter Keller  wrote:
> I do have a question though, since this is r6rs, should I do a naming convention
> like:
>
> sqlite3-open

this is very common in the scheme community and will help ensure that
your code works even without special library wrapper/alpha renaming
software.

> sqlite3/open

the  / convention usually means some kind of variant on the semantics
of the thing before the slash.

> sqlite3:open

This is the convention that SLIB uses and also has a fairly wide acceptance.

> open
>
> and let the person bringing in the library set a prefix for whatever they
> want for the functions and symbols the library exports?

bad bad bad. It's also hard to remember in the long run and a PITA to
have to go through an extra build step to rename everything in the
bloody module. This is one of the reasons I hate the PLT library
system (even though I applaud the capabilities). If God had wanted us
to rername everything she would have given us
lambda-abstractions....Oh wait a minute...

david rush
- --
GPG Public key at http://cyber-rush.org/drr/gpg-public-key.txt

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: http://getfiregpg.org

iD8DBQFIOkxjByLCw7XL9vURAnG3AJ9GEbrbg7cqU21XyDzMBBTQQpWO6ACfTg1b
RVo5D7SCDQXORsMErzoghkk=
=lqLQ
-----END PGP SIGNATURE-----



More information about the Larceny-users mailing list