{"author_name":"shigemk2","author_url":"https://blog.hatena.ne.jp/shigemk2/","type":"rich","version":"1.0","blog_url":"https://www.shigemk2.com/","blog_title":"by shigemk2","description":"case\u305d\u306e\u3082\u306e\u306b\u3064\u3044\u3066\u306f\u8aac\u660e\u4e0d\u8981\u3067\u3059\u3051\u3069\u3001 \u66f8\u304d\u65b9\u306f\u3053\u3093\u306a\u611f\u3058\u3002 case expression of pattern -> result pattern -> result pattern -> result ... \u4f8b\u306b\u3088\u3063\u3066\u3001\u3069\u306e\u30d1\u30bf\u30fc\u30f3\u306b\u3082\u5f15\u3063\u304b\u304b\u3089\u306a\u304b\u3063\u305f\u3089\u3001\u30e9\u30f3\u30bf\u30a4\u30e0\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3059\u308b\u3002 head'' :: [a] -> a head'' xs = case xs of [] -> error \"Can't call head on empty list, dummy!\" (x:_) -> x describeList :: [a] -> String describeList l\u2026","width":"100%","title":"case","image_url":null,"published":"2012-08-18 18:39:59","provider_url":"https://hatena.blog","categories":["Haskell"],"provider_name":"Hatena Blog","url":"https://www.shigemk2.com/entry/20120818/1345282799","height":"190","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.shigemk2.com%2Fentry%2F20120818%2F1345282799\" title=\"case - by shigemk2\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>"}