{"provider_name":"Hatena Blog","title":" Haskell\u3067C\u30d7\u30ea\u30d7\u30ed\u30bb\u30c3\u30b5\u3092\u4f7f\u3046","author_url":"https://blog.hatena.ne.jp/faith_and_brave/","categories":["Haskell"],"type":"rich","description":"\u3053\u308c\u304f\u3089\u3044\u3057\u304b\u3067\u304d\u307e\u305b\u3093\u3067\u3057\u305f\u304c\u30fb\u30fb\u30fb\u3002 data.txt ls = [1, 2, 3]main.hs {-# LANGUAGE CPP #-} #define MY_CONSTANT 2 #include \"data.txt\" main = do print MY_CONSTANT print ls 2 [1,2,3]\u307e\u305a\u3001\u5358\u7d14\u306adefine\u306f\u554f\u984c\u306a\u304f\u3067\u304d\u307e\u3057\u305f\u3002 data.txt\u306f\u3001\u6700\u521d\u5358\u306a\u308bCSV\u306b\u3057\u3066 ls = [ #include \"data.txt\" ] \u3068\u66f8\u3051\u308b\u304b\u306a\u3001\u3068\u601d\u3063\u305f\u3089\u30d1\u30fc\u30b9\u30a8\u30e9\u30fc\u306b\u306a\u308a\u307e\u3057\u305f\u3002 \u3061\u306a\u307f\u306bdata.txt\u306f\u3001main.hs\u3068\u540c\u3058\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u7f6e\u3044\u3066\u3042\u308a\u307e\u3059\u2026","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Ffaithandbrave.hateblo.jp%2Fentry%2F20120223%2F1329983139\" title=\" Haskell\u3067C\u30d7\u30ea\u30d7\u30ed\u30bb\u30c3\u30b5\u3092\u4f7f\u3046 - Faith and Brave - C++\u3067\u904a\u307c\u3046\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","url":"https://faithandbrave.hateblo.jp/entry/20120223/1329983139","version":"1.0","provider_url":"https://hatena.blog","author_name":"faith_and_brave","blog_url":"https://faithandbrave.hateblo.jp/","image_url":"http://a0.twimg.com/profile_images/1830330157/IMG_1013_normal.jpg","published":"2012-02-23 16:45:39","blog_title":"Faith and Brave - C++\u3067\u904a\u307c\u3046","width":"100%","height":"190"}