chicken-users  

Re: [Chicken-users] provided? features

felix winkelmann
Wed, 22 Nov 2006 21:55:59 -0800

On 11/23/06, Carlos Pita <[EMAIL PROTECTED]> wrote:
Despite what the manual says:

[procedure] (provided? ID ...)
Returns #t if the extension with the IDs ID ... are currently loaded, or
#f otherwise. **Works also for feature-ids.**

provided? doesn't seem to work for feature ids:

#;5> (register-feature! 'feat)
#;6> (features)
(feat: syntax-rules: syntax-case: hygienic-macros: match: csi: ...)
#;7> (provided? 'feat)
#f

I'm not sure whether this is a bug, a documentation error or a
misunderstanding of mine.

The error is mine. To test for feature id's use "feature?".
I'll fix the documentation, sorry for that.


cheers,
felix

--
http://galinha.ucpel.tche.br:8081/blog/blog.ssp


_______________________________________________
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users
  • Re: [Chicken-users] provided? features felix winkelmann