Skip to content

Instantly share code, notes, and snippets.

Created November 5, 2010 17:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/664517 to your computer and use it in GitHub Desktop.
Save anonymous/664517 to your computer and use it in GitHub Desktop.
<amalloy> (doc clojure.java.io/reader)
<sexpbot> ⟹ "([x & opts]); Attempts to coerce its argument into an open java.io.Reader. Default implementations always return a java.io.BufferedReader. Default implementations are provided for Reader, BufferedReader, InputStream, File, URI, URL, Socket, byte arrays, character arrays, and String. If argument is a String, it tries to resolve it first as a URI, then as a local file name. URIs with a 'file' protocol are converted to local file names. Should be used inside with-open to ensure the Reader is properly closed."
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment