Opened 3 weeks ago

Last modified 3 weeks ago

#1398 new defect

read-all in C5

Reported by: mario Owned by:
Priority: major Milestone: someday
Component: core libraries Version: 5.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 (1)

comment:1 Changed 3 weeks ago by mario

  • Description modified (diff)
Note: See TracTickets for help on using tickets.