bug#16890: current-thread need to be re-exported in srfi-18

2014-02-27 Thread Xin Wang
When try to import current-thread from srfi-18, guile fails with: ERROR: no binding `current-thread' in module (srfi srfi-18) It seems that current-thread need to be re-exported?

bug#16890: current-thread need to be re-exported in srfi-18

2014-02-27 Thread Nala Ginrut
You don't have to import current-thread from srfi-18, it's already in top-level. But if you really need it, you have to use @@ for this un-exported symbol. On Thu, 2014-02-27 at 09:14 +0800, Xin Wang wrote: > When try to import current-thread from srfi-18, guile fails with: > > ERROR: no binding

bug#16890: current-thread need to be re-exported in srfi-18

2014-02-27 Thread Mark H Weaver
Nala Ginrut writes: > You don't have to import current-thread from srfi-18, it's already in > top-level. Not for R6RS code. This is a genuine bug, and I'll push a fix shortly. Mark

bug#16890: current-thread need to be re-exported in srfi-18

2014-02-27 Thread Mark H Weaver
Xin Wang writes: > When try to import current-thread from srfi-18, guile fails with: > > ERROR: no binding `current-thread' in module (srfi srfi-18) > > It seems that current-thread need to be re-exported? Fixed in 6587bcfa53f620142e4f712ad347a25e3c33a9bc, which will be in Guile 2.0.10. I'm clo