{"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkazuhira-r.hatenablog.com%2Fentry%2F20120318%2F1332078701\" title=\"Scala\u3068Groovy\u306e\u30af\u30ed\u30fc\u30b8\u30e3\u3067\u3001\u518d\u5e30\u3092\u4f7f\u3063\u305f\u5834\u5408\u306e\u9055\u3044 - CLOVER\ud83c\udf40\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","image_url":null,"provider_url":"https://hatena.blog","provider_name":"Hatena Blog","published":"2012-03-18 22:51:41","width":"100%","version":"1.0","url":"https://kazuhira-r.hatenablog.com/entry/20120318/1332078701","author_url":"https://blog.hatena.ne.jp/Kazuhira/","author_name":"Kazuhira","blog_title":"CLOVER\ud83c\udf40","blog_url":"https://kazuhira-r.hatenablog.com/","type":"rich","title":"Scala\u3068Groovy\u306e\u30af\u30ed\u30fc\u30b8\u30e3\u3067\u3001\u518d\u5e30\u3092\u4f7f\u3063\u305f\u5834\u5408\u306e\u9055\u3044","height":"190","categories":["Scala","Groovy"],"description":"\u6700\u8fd1\u3001\u696d\u52d9\u3067\u3053\u305d\u3063\u3068Groovy\u3092\u4f7f\u3044\u3060\u3057\u3066\u3044\u308b\u306e\u3067\u3059\u304c\u3001\u8efd\u304f\u30af\u30ed\u30fc\u30b8\u30e3\u5468\u308a\u3067\u30cf\u30de\u3063\u305f\u306e\u3067\u30e1\u30e2\u3002\u5225\u306b\u968e\u4e57\u306e\u30d7\u30ed\u30b0\u30e9\u30e0\u304c\u66f8\u304d\u305f\u304b\u3063\u305f\u308f\u3051\u3067\u306f\u306a\u3044\u306e\u3067\u3059\u304c\u3001\u30b5\u30f3\u30d7\u30eb\u3068\u3057\u3066\u3002 def factorial = { n -> if (n > 0) { n * factorial(n - 1) } else { 1 } } println(factorial(args[0].toInteger())) \u3053\u3093\u306a\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u66f8\u3044\u3066\u3001\u5b9f\u884c\u3057\u307e\u3059\u3002 $ groovy recur_closure.groovy 5 Caught: groovy.lang.MissingMethodException: No sign\u2026"}