{"author_url":"https://blog.hatena.ne.jp/sirocco/","provider_name":"Hatena Blog","width":"100%","type":"rich","version":"1.0","provider_url":"https://hatena.blog","title":"Lisp \u306e\u30ea\u30b9\u30c8\u3092\u8868\u793a\u3059\u308b\u95a2\u6570","url":"https://sirocco.hatenadiary.org/entry/20090706/1246831287","description":"Lisp \u306e\u30ea\u30b9\u30c8\u3092\u8868\u793a\u3059\u308b\u95a2\u6570\u3092\u4f5c\u3063\u3066\u307f\u305f\u3002 data Symbol = I Integer | S String | Nil | C Cell deriving (Show, Read, Eq) data Cell = Cell { car_ :: Symbol, cdr_ :: Symbol} deriving (Show, Read, Eq) cons a b = C Cell { car_ = a, cdr_ = b } car (C cell) = car_ cell cdr (C cell) = cdr_ cell listToString ls = \"(\" ++ listToS\u2026","author_name":"sirocco","blog_title":"sirocco \u306e\u66f8\u3044\u3066\u3082\u3059\u3050\u306b\u5fd8\u308c\u308b\u30e1\u30e2","height":"190","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsirocco.hatenadiary.org%2Fentry%2F20090706%2F1246831287\" title=\"Lisp \u306e\u30ea\u30b9\u30c8\u3092\u8868\u793a\u3059\u308b\u95a2\u6570 - 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>","blog_url":"https://sirocco.hatenadiary.org/","image_url":null,"published":"2009-07-06 07:01:27","categories":["Haskell"]}