{"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmelpon.hatenadiary.org%2Fentry%2F20121209%2F1355051952\" title=\"\u5185\u5305\u8868\u8a18\u3044\u308d\u3044\u308d - melpon\u65e5\u8a18 - Haskell\u3082C++\u3082\u307e\u3068\u3082\u306b\u6271\u3048\u306a\u3044\u3078\u305f\u308c\u306e\u30da\u30fc\u30b8\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","blog_title":"melpon\u65e5\u8a18 - Haskell\u3082C++\u3082\u307e\u3068\u3082\u306b\u6271\u3048\u306a\u3044\u3078\u305f\u308c\u306e\u30da\u30fc\u30b8","provider_url":"https://hatena.blog","description":"\u3053\u306e\u8a18\u4e8b\u306f Python Tips Advent Calendar 2012 \uff19\u65e5\u76ee\u306e\u8a18\u4e8b\u3067\u3059\u3002 \u307e\u305a\u3001list, set, dict \u306f\u3001\u305d\u308c\u3089\u3092\u751f\u6210\u3059\u308b\u305f\u3081\u306e\u5c02\u7528\u306e\u69cb\u6587\u3092\u6301\u3063\u3066\u3044\u307e\u3059\u3002 >>> [1,2,3] # \u30ea\u30b9\u30c8\u751f\u6210 [1, 2, 3] >>> {1,2,3} # \u96c6\u5408\u751f\u6210 set([1, 2, 3]) >>> {1:1,2:2,3:3} # \u8f9e\u66f8\u751f\u6210 {1: 1, 2: 2, 3: 3} \u3053\u306e\u69cb\u6587\u3092\u62e1\u5f35\u3057\u305f\u5f62\u3067 list, set, dict \u306e\u5185\u5305\u8868\u8a18\u304c\u66f8\u3051\u307e\u3059\u3002 >>> xs = [1,2,3] >>> [x for x in xs] # \u30ea\u30b9\u30c8\u5185\u5305\u8868\u8a18 [1, 2, 3] \u2026","height":"190","author_name":"melpon","blog_url":"https://melpon.hatenadiary.org/","type":"rich","provider_name":"Hatena Blog","image_url":null,"version":"1.0","url":"https://melpon.hatenadiary.org/entry/20121209/1355051952","author_url":"https://blog.hatena.ne.jp/melpon/","width":"100%","title":"\u5185\u5305\u8868\u8a18\u3044\u308d\u3044\u308d","published":"2012-12-09 20:19:12","categories":["Python"]}