Created
July 27, 2015 17:09
-
-
Save jneen/2f62ead49570c0629bca to your computer and use it in GitHub Desktop.
This file contains 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
(defn frybo [fname] | |
(def raf (java.io.RandomAccessFile. fname "r")) | |
(def out-chan (chan 10)) | |
(go-loop [] (>!! out-chan (.readByte raf))) | |
out-chan) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment