{"url":"https://coffee-guhaw.hateblo.jp/entry/2025/03/22/000000","type":"rich","blog_url":"https://coffee-guhaw.hateblo.jp/","blog_title":"Bus error\u3068Segmentation fault\u306b\u56f0\u3063\u305f\u3089\u898b\u308b\u30d6\u30ed\u30b0","provider_name":"Hatena Blog","image_url":null,"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fcoffee-guhaw.hateblo.jp%2Fentry%2F2025%2F03%2F22%2F000000\" title=\"\u3010Haskell\u3011\u578b\u5ba3\u8a00\u304c\u307e\u3093\u3069\u304f\u3055\u3044\u3068\u304d\u3001 - Bus error\u3068Segmentation fault\u306b\u56f0\u3063\u305f\u3089\u898b\u308b\u30d6\u30ed\u30b0\" 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":"coffee_kabu","height":"190","title":"\u3010Haskell\u3011\u578b\u5ba3\u8a00\u304c\u307e\u3093\u3069\u304f\u3055\u3044\u3068\u304d\u3001","width":"100%","categories":["haskell"],"author_url":"https://blog.hatena.ne.jp/coffee_kabu/","published":"2025-03-22 00:00:00","description":"(\u904e\u53bb\u8a18\u4e8b\u306e\u30b3\u30d4\u30da 2013/07/14)\u5b9f\u306fHaskell\u306b\u306f\u578b\u3092\u63a8\u5b9a\u3057\u3066\u304f\u308c\u308b\u6a5f\u80fd\u304c\u3042\u308b\u306e\u3060 hoge x = x * 2 \u3068\u30bd\u30fc\u30b9\u306b\u66f8\u3044\u3066\u304a\u3044\u3066\u3001 *Main> :t hoge hoge :: Num a => a -> a zipWith2 _ [] _ = [] zipWith2 _ _ [] = [] zipWith2 f (x:xs) (y:ys) = f x y : zipWith2 f xs ys \u3053\u3093\u306a\u95a2\u6570\u3067\u3082\uff1f *Main> :t zipWith2 zipWith :: (a -> b -> c) -> [a] -> [b] -> [c] \u5927\u4e08\u592b\u3067\u3059\u3002","provider_url":"https://hatena.blog","version":"1.0"}