GNU bug report logs - #15123
Missing R6RS io port exports

Previous Next

Package: guile;

Reported by: Göran Weinholt <goran <at> weinholt.se>

Date: Sun, 18 Aug 2013 12:25:01 UTC

Severity: normal

Done: Andy Wingo <wingo <at> pobox.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 15123 in the body.
You can then email your comments to 15123 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guile <at> gnu.org:
bug#15123; Package guile. (Sun, 18 Aug 2013 12:25:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Göran Weinholt <goran <at> weinholt.se>:
New bug report received and forwarded. Copy sent to bug-guile <at> gnu.org. (Sun, 18 Aug 2013 12:25:03 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Göran Weinholt <goran <at> weinholt.se>
To: bug-guile <at> gnu.org
Subject: Missing R6RS io port exports
Date: Sun, 18 Aug 2013 14:14:24 +0200
[Message part 1 (text/plain, inline)]
Hello schemers,

these identifiers are not exported by the (rnrs) library:

  &i/o-decoding
  i/o-decoding-error?
  &i/o-encoding
  i/o-encoding-error-char
  i/o-encoding-error?
  make-i/o-decoding-error
  make-i/o-encoding-error
  output-port-buffer-mode

As you can see:

scheme@(guile-user)> (import (rnrs eval))
scheme@(guile-user)> (environment '&i/o-decoding-error (environment '(rnrs)))
ice-9/eval.scm:411:25: In procedure eval:
ice-9/eval.scm:411:25: Syntax error:
unknown location: source expression failed to match any pattern in form &i/o-decoding-error

Entering a new prompt.  Type `,bt' for a backtrace or `,q' to continue.
scheme@(#{ g365}#) [1]> 

(Btw, what's up with the gensym in that prompt?)

Additionally these identifiers are not exported by (rnrs io ports):

  &i/o-decoding
  &i/o-encoding
  output-port-buffer-mode

For completeness I will also mention that these exports are missing from
both libraries (I assume because their implementation is non-trivial):

  make-custom-binary-input/output-port
  make-custom-textual-input-port
  make-custom-textual-input/output-port
  bytevector->string
  string->bytevector

The last two are already reported in bug #14109.

Tested with GNU Guile 2.0.9.71-8d5d04.

Regards,

-- 
Göran Weinholt <goran <at> weinholt.se>
"I'm the kinda guy that if I can't figure it out on my own, then I'm
just not gonna waste my time doing it." -- David Letterman
[Message part 2 (application/pgp-signature, inline)]

Reply sent to Andy Wingo <wingo <at> pobox.com>:
You have taken responsibility. (Tue, 21 Jun 2016 09:31:01 GMT) Full text and rfc822 format available.

Notification sent to Göran Weinholt <goran <at> weinholt.se>:
bug acknowledged by developer. (Tue, 21 Jun 2016 09:31:02 GMT) Full text and rfc822 format available.

Message #10 received at 15123-done <at> debbugs.gnu.org (full text, mbox):

From: Andy Wingo <wingo <at> pobox.com>
To: Göran Weinholt <goran <at> weinholt.se>
Cc: 15123-done <at> debbugs.gnu.org
Subject: Re: bug#15123: Missing R6RS io port exports
Date: Tue, 21 Jun 2016 11:30:39 +0200
On Sun 18 Aug 2013 14:14, Göran Weinholt <goran <at> weinholt.se> writes:

> Hello schemers,
>
> these identifiers are not exported by the (rnrs) library:
>
>   &i/o-decoding
>   i/o-decoding-error?
>   &i/o-encoding
>   i/o-encoding-error-char
>   i/o-encoding-error?
>   make-i/o-decoding-error
>   make-i/o-encoding-error
>   output-port-buffer-mode

Fixed, thanks.

> Additionally these identifiers are not exported by (rnrs io ports):
>
>   &i/o-decoding
>   &i/o-encoding
>   output-port-buffer-mode

Fixed as well.

> For completeness I will also mention that these exports are missing from
> both libraries (I assume because their implementation is non-trivial):
>
>   make-custom-binary-input/output-port
>   make-custom-textual-input-port
>   make-custom-textual-input/output-port
>   bytevector->string
>   string->bytevector

I added implementations of bytevector->string and string->bytevector.
Custom textual and binary ports are still a TODO, but it's good enough
to close this bug.

Cheers,

Andy




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 19 Jul 2016 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 8 years and 341 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.