unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
* bug#16890: current-thread need to be re-exported in srfi-18
@ 2014-02-27  1:14 Xin Wang
  2014-02-28  3:24 ` Nala Ginrut
  2014-02-28  5:50 ` Mark H Weaver
  0 siblings, 2 replies; 4+ messages in thread
From: Xin Wang @ 2014-02-27  1:14 UTC (permalink / raw)
  To: 16890

[-- Attachment #1: Type: text/plain, Size: 181 bytes --]

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?

[-- Attachment #2: Type: text/html, Size: 342 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#16890: current-thread need to be re-exported in srfi-18
  2014-02-27  1:14 bug#16890: current-thread need to be re-exported in srfi-18 Xin Wang
@ 2014-02-28  3:24 ` Nala Ginrut
  2014-02-28  4:07   ` Mark H Weaver
  2014-02-28  5:50 ` Mark H Weaver
  1 sibling, 1 reply; 4+ messages in thread
From: Nala Ginrut @ 2014-02-28  3:24 UTC (permalink / raw)
  To: Xin Wang; +Cc: 16890

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 `current-thread' in module (srfi srfi-18)
> 
> It seems that current-thread need to be re-exported?







^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#16890: current-thread need to be re-exported in srfi-18
  2014-02-28  3:24 ` Nala Ginrut
@ 2014-02-28  4:07   ` Mark H Weaver
  0 siblings, 0 replies; 4+ messages in thread
From: Mark H Weaver @ 2014-02-28  4:07 UTC (permalink / raw)
  To: Nala Ginrut; +Cc: Xin Wang, 16890

Nala Ginrut <nalaginrut@gmail.com> 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





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#16890: current-thread need to be re-exported in srfi-18
  2014-02-27  1:14 bug#16890: current-thread need to be re-exported in srfi-18 Xin Wang
  2014-02-28  3:24 ` Nala Ginrut
@ 2014-02-28  5:50 ` Mark H Weaver
  1 sibling, 0 replies; 4+ messages in thread
From: Mark H Weaver @ 2014-02-28  5:50 UTC (permalink / raw)
  To: Xin Wang; +Cc: 16890-done

Xin Wang <dram.wang@gmail.com> 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 closing this bug now.

    Thanks!
      Mark





^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-02-28  5:50 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-27  1:14 bug#16890: current-thread need to be re-exported in srfi-18 Xin Wang
2014-02-28  3:24 ` Nala Ginrut
2014-02-28  4:07   ` Mark H Weaver
2014-02-28  5:50 ` Mark H Weaver

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).