On 13 Oct 2009, at 4:31 am, John Cowan wrote: > Alaric Snell-Pym scripsit: > >> So you're allowed to put the imports inside cond-expand if they're in >> a separate file that gets included, and not otherwise? > > No. The idea is this: > > (module open-gl > (export ...) > (cond-expand > (has-open-gl (include "open-gl-glue.scm")) > (else (include "open-gl-emulator.scm"))))
Ah, but where in this appears your import of the OpenGL library, if it's available? :-) ABS -- Alaric Snell-Pym Work: http://www.snell-systems.co.uk/ Play: http://www.snell-pym.org.uk/alaric/ Blog: http://www.snell-pym.org.uk/archives/author/alaric/ _______________________________________________ r6rs-discuss mailing list [email protected] http://lists.r6rs.org/cgi-bin/mailman/listinfo/r6rs-discuss
