Clojure

clojure.core/slurp docstring out of date

Details

  • Type: Defect Defect
  • Status: Closed Closed
  • Priority: Trivial Trivial
  • Resolution: Completed
  • Affects Version/s: None
  • Fix Version/s: Release 1.3
  • Component/s: None
  • Labels:
    None
  • Patch:
    Code
  • Approval:
    Ok

Description

The slurp function used to only work on filename arguments, but now it uses clojure.java.io/reader instead, so it works with a much wider variety of arguments. The docstring does not reflect this change.

Something like this might work: "Opens a reader on f and reads all its contents, returning a string. See clojure.java.io/reader for a complete list of supported arguments."

Activity

Hide
Assembla Importer added a comment -
Show
Assembla Importer added a comment - Converted from http://www.assembla.com/spaces/clojure/tickets/462
Hide
Alexander Redington added a comment -

Update for using the suggested docstring.

Show
Alexander Redington added a comment - Update for using the suggested docstring.

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: