Created
March 31, 2010 18:13
-
-
Save devn/350662 to your computer and use it in GitHub Desktop.
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
| (defn categorize-sexps [] | |
| (reduce (fn [result, code] | |
| (try | |
| (let [r (*sandbox* code)] | |
| (update-in result [:good] | |
| conj [code (pr-str r)])) | |
| (catch Exception e | |
| (update-in result [:bad] | |
| conj [code nil])))) | |
| {} | |
| (all-expressions logfiles))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment