{"type":"rich","url":"https://so-wh.at/entry/2015/06/21/_%E9%9A%8E%E4%B9%97","published":"2015-06-21 17:38:34","image_url":null,"provider_name":"Hatena Blog","categories":["Erlang"],"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fso-wh.at%2Fentry%2F2015%2F06%2F21%2F_%25E9%259A%258E%25E4%25B9%2597\" title=\" \u968e\u4e57 - so what\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","title":" \u968e\u4e57","provider_url":"https://hatena.blog","width":"100%","author_url":"https://blog.hatena.ne.jp/winebarrel/","author_name":"winebarrel","blog_url":"https://so-wh.at/","version":"1.0","height":"190","blog_title":"so what","description":"#!/usr/bin/env escript fact(0) -> 1; fact(N) -> N * fact(N - 1). main(_) -> N = fact(65535), io:format(\"~p~n\", [N]). real 0m11.969s user 0m11.742s sys 0m0.175s #!/usr/bin/env escript fact(N) -> fact(N, 1). fact(0, Acc) -> Acc; fact(N, Acc) -> fact(N - 1, Acc * N). main(_) -> N = fact(65535), io:form\u2026"}