Issue RESTART-CASE-EXAMPLE
Issue: RESTART-CASE-EXAMPLE

Forum: Editorial

References: RESTART-CASE

Category: CLARIFICATION/CHANGE

Edit history: 2004-07-20, Version 1 by Bruno Haible

Status: For CLiki consideration

Problem Description:

RESTART-CASE examples: read-new-value should use *QUERY-IO* as specified above in the description of :INTERACTIVE option.

Proposal (RESTART-CASE-EXAMPLE:USE-QUERY-IO):

Change the example to read
(defun read-new-value ()
  (format *query-io* "Enter a new value: ")
  (multiple-value-list (eval (read *query-io*))))

Test case:

Rationale:

Current practice:

N/A

Cost to Implementors:

None.

Cost to Users:

None.

Cost of Non-Adoption:

Buggy example.

Benefits:

Consistency.

Aesthetics:

Discussion:
  • Bruno Haible supports proposal USE-QUERY-IO.