{"version":"1.0","author_url":"https://blog.hatena.ne.jp/takkan_m/","blog_url":"https://takkan-m.hatenadiary.org/","blog_title":"takkan_m\u306eNo plan\u306a\u65e5\u5e38","description":"\u500b\u4eba\u7684\u5099\u5fd8\u9332\u306a\u3093\u3068\u306a\u304f\u3001\u9023\u7d9a\u3057\u305f\u6570\u5b57\u306e\u6709\u9650\u306e\u30ea\u30b9\u30c8\u304b\u3089\u7d20\u6570\u3092\u3068\u308a\u3060\u3059\u30a8\u30e9\u30c8\u30cd\u30b9\u306e\u3075\u308b\u3044\u3092\u4f5c\u308a\u305f\u304f\u306a\u3063\u3066\u3001ghci\u3092\u7acb\u3061\u4e0a\u3052\u3066\u3064\u304f\u3063\u3066\u307f\u305f\u3002 \u6700\u521d\u3001 let fact (x:xs) = x : fact [ y | y <- xs , 0 /= ( y `mod` x ) ] \u306a\u611f\u3058\u3067\u3001\u5b9a\u7fa9\u3057\u305f\u3093\u3060\u3051\u3069\u3001\u3088\u304f\u8003\u3048\u308b\u3068\u3053\u308c\u3001\u6700\u5f8c\u306b[]\u304c\u6765\u305f\u3068\u304d\u306b\u30a2\u30a6\u30c8\u306b\u306a\u308b\u3002\u307e\u3041\u3001 take 10 $fact [2..100] \u306e\u3088\u3046\u306b\u3001\u30ea\u30b9\u30c8\u306b\u5b58\u5728\u3059\u308b\u500b\u6570\u3088\u308a\u5c11\u306a\u3044\u500b\u6570\u3092\u53d6\u308a\u51fa\u3059\u3088\u3046\u306b\u3057\u3066\u3042\u3052\u308c\u3070\u3001\u9045\u5ef6\u8a55\u4fa1\u306e\u304a\u304b\u3052\u3067\u6551\u308f\u308c\u308b\u306e\u3067\u3059\u304c\u3001\u306a\u3093\u3068\u306a\u304f\u6c5a\u3044\u3002\u304b\u3068\u3044\u3063\u3066\u3001ghci\u4e0a\u3067\u306f\u30d1\u30bf\u30fc\u30f3\u30de\u30c3\u30c1\u3092\u3064\u304b\u3063\u3066\u306e\u95a2\u6570\u5b9a\u7fa9\u304c\u2026","type":"rich","width":"100%","image_url":null,"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftakkan-m.hatenadiary.org%2Fentry%2F20080617%2F1213655557\" title=\"let\u5f0f\u3067\u4e00\u884c\u306b\u8907\u6570\u675f\u7e1b\u3092\u66f8\u304f\u3068\u304d\u306e\u533a\u5207\u308a\u6587\u5b57 - takkan_m\u306eNo plan\u306a\u65e5\u5e38\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","provider_name":"Hatena Blog","author_name":"takkan_m","height":"190","title":"let\u5f0f\u3067\u4e00\u884c\u306b\u8907\u6570\u675f\u7e1b\u3092\u66f8\u304f\u3068\u304d\u306e\u533a\u5207\u308a\u6587\u5b57","categories":["haskell"],"provider_url":"https://hatena.blog","published":"2008-06-17 07:32:37","url":"https://takkan-m.hatenadiary.org/entry/20080617/1213655557"}