Opened 7 years ago

Closed 6 years ago

#1398 closed defect (fixed)

read-all in C5

Reported by: Mario Domenech Goulart Owned by: felix winkelmann
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 Domenech Goulart)

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 7 years ago by Mario Domenech Goulart

Description: modified (diff)

comment:2 Changed 7 years ago by Mario Domenech Goulart

Milestone: someday5.0

comment:3 Changed 7 years ago by sjamaan

How about read-list?

comment:4 Changed 7 years ago by felix winkelmann

Owner: set to felix winkelmann
Status: newaccepted

comment:5 Changed 6 years ago by sjamaan

Resolution: fixed
Status: acceptedclosed

Fixed with 61c90bffa8512d64e99a28a90a7c3f2518b4d1e6

Note: See TracTickets for help on using tickets.