Last active
November 15, 2018 21:22
-
-
Save uwo/af25da65891b94f3eacb2a024b736cb4 to your computer and use it in GitHub Desktop.
file utils
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.cpcache | |
.nrepl-port |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{:paths ["."]} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(ns fu | |
(:require [clojure.edn :as edn] | |
[clojure.java.io :as io]) | |
(:import (java.io PushbackReader))) | |
(defn readf [filename] (PushbackReader. (io/reader filename))) | |
(defn reade | |
[filename] | |
(edn/read-string {:readers *data-readers*} (slurp filename))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment