Skip to content

Instantly share code, notes, and snippets.

@brweber2
Created July 13, 2010 01:00
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save brweber2/473303 to your computer and use it in GitHub Desktop.
(ns capclug.demo.cljfromjava.seven
(:gen-class
:methods [[foo [#^"[Ljava.lang.String;" ] String]]))
(defn -foo [arr] "arrgghhh")
@stuartsierra
Copy link

(gen‑class ...
  :methods [[add [int int] int]])

@stuartsierra
Copy link

I think it should be this:

(ns capclug.demo.cljfromjava.seven
  (:gen-class
    :methods [[foo ["[Ljava.lang.String;" ] String]]))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment