{"url":"https://kazu-yamamoto.hatenablog.jp/entry/20110218/1297992233","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkazu-yamamoto.hatenablog.jp%2Fentry%2F20110218%2F1297992233\" title=\" F# \u3092\u307e\u306d\u308b - \u3042\u3069\u3051\u306a\u3044\u8a71\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","author_url":"https://blog.hatena.ne.jp/kazu-yamamoto/","categories":["Haskell"],"title":" F# \u3092\u307e\u306d\u308b","height":"190","provider_name":"Hatena Blog","provider_url":"https://hatena.blog","description":"F# \u306e |> \u6f14\u7b97\u5b50\u304c\u304b\u3063\u3053\u3088\u3044\u306e\u3067\u3001Haskell \u3067\u4f5c\u3063\u3066\u307f\u305f\u3002 infixl 0 |> (|>) :: a -> (a -> b) -> b a |> f = f a \u4ee5\u4e0b\u306e\u3088\u3046\u306b\u30b7\u30a7\u30eb\u306e\u30d1\u30a4\u30d7\u306e\u3088\u3046\u306a\u611f\u3058\u3067\u4f7f\u3046\u3002 foo :: String foo = [1..100] |> map (*2) |> filter (\\x -> x `mod` 6 == 0) |> sum |> show","published":"2011-02-18 10:23:53","blog_url":"https://kazu-yamamoto.hatenablog.jp/","type":"rich","author_name":"kazu-yamamoto","version":"1.0","image_url":null,"blog_title":"\u3042\u3069\u3051\u306a\u3044\u8a71","width":"100%"}