{"categories":["Clojure","stackoverflow"],"published":"2015-05-01 10:13:04","width":"100%","height":"190","url":"https://ayato.hateblo.jp/entry/20150501/1430442784","author_name":"ayato0211","blog_url":"https://ayato.hateblo.jp/","image_url":null,"author_url":"https://blog.hatena.ne.jp/ayato0211/","blog_title":"(define -ayalog '())","description":"How do I get the instance of the class when using gen-class\u6bce\u65e5 StackOverflow \u306f\u898b\u3066\u308b\u3093\u3067\u3059\u304c\u3001\u307e\u3055\u304b @tnoda_ \u3055\u3093\u304c\u56de\u7b54\u8005\u3068\u3057\u3066\u51fa\u3066\u304f\u308b\u3068\u306f\u601d\u308f\u306a\u304b\u3063\u305f\u3002gen-class \u4f7f\u3063\u3066\u51fa\u6765\u308b\u30af\u30e9\u30b9\u306e\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u30e1\u30bd\u30c3\u30c9\u306e\u4e2d\u3067 \"this\" \u306b\u30a2\u30af\u30bb\u30b9\u3057\u305f\u3044\u3093\u3060\u3051\u3069\u3001\u3069\u3046\u3057\u305f\u3089\u3044\u3044\u306e?\u3068\u3044\u3046\u8cea\u554f (ns example (:gen-class)) (defn -exampleMethod [] (println (str this))) \u56de\u7b54\u3067\u3059\u304c\u3001\u7b2c\u4e00\u5f15\u6570\u306b\u547c\u3073\u51fa\u3057\u5143\u306e\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u304c\u304f\u308b\u3088\u3046\u306b gen-class \u2026","version":"1.0","type":"rich","title":"gen-class \u3092\u4f7f\u3063\u305f\u3068\u304d\u306b\u3069\u3046\u3084\u3063\u3066\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u3092\u53d6\u5f97\u3057\u305f\u3089\u3044\u3044?","provider_name":"Hatena Blog","provider_url":"https://hatena.blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fayato.hateblo.jp%2Fentry%2F20150501%2F1430442784\" title=\"gen-class \u3092\u4f7f\u3063\u305f\u3068\u304d\u306b\u3069\u3046\u3084\u3063\u3066\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u3092\u53d6\u5f97\u3057\u305f\u3089\u3044\u3044? - (define -ayalog &#39;())\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>"}