From 1361a41c824f82963338aaad3184093f51157c63 Mon Sep 17 00:00:00 2001 From: Carsten Behring Date: Sun, 17 Dec 2023 16:52:02 +0100 Subject: [PATCH] added require --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 157da8e..70bb48d 100644 --- a/README.md +++ b/README.md @@ -25,6 +25,9 @@ This is the set of things that `enrich-classpath` can add to the classpath, when As a quick example of you can do with it: ```clj +(require '[clojure.java.io :as io]) +(require '[clojure.string :as string]) + (defn class->source [class-object] {:pre [(class? class-object)]} (-> class-object pr-str munge (string/replace "." "/") (str ".java") (io/resource) slurp))