Next: Common Feature Symbols, Up: Feature Tracking
To check whether a particular feature is available, use the
provided? procedure:
Return #t iff FEATURE is available to this Guile interpreter. In SLIB, provided? also checks to see if the module is available. We should do that too, but don't.
To advertise a feature from your own Scheme code, you can use the
provide procedure:
For C code, the equivalent function takes its feature name as a
char * argument for convenience: