Details
-
Type:
Defect
-
Status:
Closed
-
Priority:
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."
Converted from http://www.assembla.com/spaces/clojure/tickets/462