Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
(ns test)
(defprotocol foo
(bar [this s]))
(defn probably-string []
(when true "Clojure"))
(let [t (reify foo (bar [this ^String s] (.substring s 2 5)))
s (probably-string)]
(println (bar t s)))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.