[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-janitors] #1398: read-all in C5
From: |
Chicken Trac |
Subject: |
Re: [Chicken-janitors] #1398: read-all in C5 |
Date: |
Fri, 01 Sep 2017 19:42:22 -0000 |
#1398: read-all in C5
---------------------------------------+---------------------------------
Reporter: mario | Owner:
Type: defect | Status: new
Priority: major | Milestone: someday
Component: core libraries | Version: 5.0
Resolution: | Keywords: read-all, read-file
Estimated difficulty: easy |
---------------------------------------+---------------------------------
Description changed by mario:
Old description:
> {{{read-file}}} from C4 has been renamed to {{{read-all}}} in C5, but we
> have {{{read-all}}} in C4 as well, and their signature are compatible,
> which means that the compiler won't be able to spot bugs in code being
> ported from C4 to C5.
>
> It's a similar issue as {{{bit-set?}}}'s.
>
> TODO: check how other implementations call such a procedure.
New description:
{{{read-file}}} from C4 has been renamed to {{{read-all}}} in C5, but we
have {{{read-all}}} in C4 as well, and their signatures are compatible,
which means that the compiler won't be able to spot bugs in code being
ported from C4 to C5.
It's a similar issue as {{{bit-set?}}}'s.
Here's how other implementations name such a procedure:
* Gambit: {{{read-all}}}
* Gauche: {{{port->sexp-list}}} (the documentation mentions "The API is
taken from scsh and STk")
--
--
Ticket URL: <https://bugs.call-cc.org/ticket/1398#comment:1>
CHICKEN Scheme <https://www.call-cc.org/>
CHICKEN Scheme is a compiler for the Scheme programming language.