{"author_url":"https://blog.hatena.ne.jp/sirocco/","image_url":null,"categories":["Haskell"],"height":"190","published":"2013-04-15 06:25:19","blog_url":"https://sirocco.hatenadiary.org/","url":"https://sirocco.hatenadiary.org/entry/20130415/1365974719","description":"OverloadedStrings \u8a00\u8a9e\u62e1\u5f35\u3092\u4f7f\u3046\u3068\u30c0\u30d6\u30eb\u30af\u30aa\u30fc\u30c8\u3067\u56f2\u3093\u3060\u6587\u5b57\u5217\u3092\u3001Text\u3001ByteString \u30ea\u30c6\u30e9\u30eb\u3068\u3057\u3066\u6271\u3063\u3066\u304f\u308c\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002\u3042\u3069\u3051\u306a\u3044\u8a71\u30fbHaskell\u30e9\u30a4\u30d6\u30e9\u30ea\u5165\u9580 (2011\u5e74\u7248) {-# LANGUAGE OverloadedStrings #-} module Main where import qualified Data.Text as T import GHC.Exts( IsString(..) ) greet :: T.Text -> T.Text greet \"hello\" = \"world\" greet other = other gre\u2026","provider_name":"Hatena Blog","author_name":"sirocco","title":"OverloadedStrings \u3092\u4f7f\u3046\u3068\u6587\u5b57\u5217\u3092\u3001Text\u3001ByteString \u30ea\u30c6\u30e9\u30eb\u3068\u3057\u3066\u6271\u3063\u3066\u304f\u308c\u308b\u3002","width":"100%","type":"rich","blog_title":"sirocco \u306e\u66f8\u3044\u3066\u3082\u3059\u3050\u306b\u5fd8\u308c\u308b\u30e1\u30e2","version":"1.0","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsirocco.hatenadiary.org%2Fentry%2F20130415%2F1365974719\" title=\"OverloadedStrings \u3092\u4f7f\u3046\u3068\u6587\u5b57\u5217\u3092\u3001Text\u3001ByteString \u30ea\u30c6\u30e9\u30eb\u3068\u3057\u3066\u6271\u3063\u3066\u304f\u308c\u308b\u3002 - sirocco \u306e\u66f8\u3044\u3066\u3082\u3059\u3050\u306b\u5fd8\u308c\u308b\u30e1\u30e2\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","provider_url":"https://hatena.blog"}