From: Alaric Snell-Pym <ala...@snell-pym.org.uk>
Subject: [Chicken-users] Autoloading optional dependencies
Date: Sat, 11 Sep 2010 10:03:56 +0100

> 
> Hi there folks
> 
> I've noticed that the autoload egg goes partway towards solving
> Ugarit's
> "depends on EVERY hash, compression, and encryption egg" problem.
> 
> For those not familiar with it, the principle is that I can write:
> 
> (autoload z3 z3:encode-buffer z3:decode-buffer)
> 
> ...and only if I actually use the z3:encode-buffer or z3:decode-buffer
> functions *at run time* will there be an attempt to load z3.so.

But that wouldn't work inside modules, because you would have to
have access to the import library, right?


cheers,
felix

_______________________________________________
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users

Reply via email to