#1398 closed defect (fixed)

read-all in C5

Reported by: mario Owned by: felix
Priority: major Milestone: 5.0
Component: core libraries Version: 5.0.0
Keywords: read-all, read-file Cc:
Estimated difficulty: easy

Description (last modified by mario)

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")

Change History (5)

comment:1 Changed 19 months ago by mario

  • Description modified (diff)

comment:2 Changed 17 months ago by mario

  • Milestone changed from someday to 5.0

comment:3 Changed 17 months ago by sjamaan

How about read-list?

comment:4 Changed 17 months ago by felix

  • Owner set to felix
  • Status changed from new to accepted

comment:5 Changed 17 months ago by sjamaan

  • Resolution set to fixed
  • Status changed from accepted to closed

Fixed with 61c90bffa8512d64e99a28a90a7c3f2518b4d1e6

Note: See TracTickets for help on using tickets.