{"title":"\u540d\u524d\u6e21\u3057 Call-by-name \u306b\u3066\u5f15\u6570\u306e\u30b3\u30fc\u30c9\u5b9f\u884c\u30bf\u30a4\u30df\u30f3\u30b0\u3092\u5236\u5fa1\u3059\u308b","version":"1.0","url":"https://blog1.mammb.com/entry/20100421/1271865690","blog_url":"https://blog1.mammb.com/","provider_url":"https://hatena.blog","author_url":"https://blog.hatena.ne.jp/Naotsugu/","published":"2010-04-21 01:01:30","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog1.mammb.com%2Fentry%2F20100421%2F1271865690\" title=\"\u540d\u524d\u6e21\u3057 Call-by-name \u306b\u3066\u5f15\u6570\u306e\u30b3\u30fc\u30c9\u5b9f\u884c\u30bf\u30a4\u30df\u30f3\u30b0\u3092\u5236\u5fa1\u3059\u308b - A Memorandum\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","author_name":"Naotsugu","width":"100%","description":"Java \u3067\u4ee5\u4e0b\u306e\u30b3\u30fc\u30c9\u306b\u3066greeting()\u3092\u547c\u3073\u51fa\u3059\u3068\u3001 public String hello() { return \"HELLO\"; } public void print(String s) { System.out.println(s); } public void greeting() { print(hello()); } \u6700\u521d\u306b hello() \u30e1\u30bd\u30c3\u30c9\u304c\u547c\u3070\u308c\u3001\u305d\u306e\u7d50\u679c\u306e HELLO \u3068\u3044\u3046\u6587\u5b57\u5217\u304c print() \u306e\u5f15\u6570\u3068\u3057\u3066\u6e21\u3055\u308c\u307e\u3059\u3002 \u540c\u3058\u3088\u3046\u306bScala\u306b\u3066\u3002 def hello() = \"HELLO\" def print(s : String) = { prin\u2026","provider_name":"Hatena Blog","height":"190","categories":["Scala"],"blog_title":"A Memorandum","image_url":null,"type":"rich"}