{"width":"100%","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsirocco.hatenadiary.org%2Fentry%2F20111017%2F1318835144\" title=\"\u300cHaskell\u3067Lisp\u3092\u66f8\u304f\u65e5\u8a18\u300d\u3092\u8aad\u3080(2) - 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>","author_url":"https://blog.hatena.ne.jp/sirocco/","image_url":null,"blog_url":"https://sirocco.hatenadiary.org/","provider_url":"https://hatena.blog","provider_name":"Hatena Blog","title":"\u300cHaskell\u3067Lisp\u3092\u66f8\u304f\u65e5\u8a18\u300d\u3092\u8aad\u3080(2)","description":"\u300cHaskell\u3067Lisp\u3092\u66f8\u304f\u65e5\u8a18 / eval\u306e\u4f5c\u6210\uff08\u5909\u6570\u7de8\uff09 Lisp \u306f\u5b9a\u7fa9\u3055\u308c\u305f\u5024\u3092\u30c6\u30fc\u30d6\u30eb\u306b\u767b\u9332\u3057\u3001\u305d\u308c\u3092\u691c\u7d22\u3057\u3066\u3044\u308b\u3088\u3046\u3067\u3059\u3002 import Text.ParserCombinators.Parsec data Sexp = Nil | Symbol String | N Integer | Cons Sexp Sexp deriving Show {- \u30ea\u30b9\u30c8\u306e\u52d5\u4f5c\u304c\u898b\u3048\u308b\u3088\u3046\u306bShow\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u306f\u7121\u52b9\u306b\u3059\u308b\u3002 instance Show Sexp where show (Nil) = \"()\" show (N a) = show a show (Symbol a) = a \u2026","published":"2011-10-17 16:05:44","blog_title":"sirocco \u306e\u66f8\u3044\u3066\u3082\u3059\u3050\u306b\u5fd8\u308c\u308b\u30e1\u30e2","version":"1.0","type":"rich","url":"https://sirocco.hatenadiary.org/entry/20111017/1318835144","height":"190","author_name":"sirocco","categories":["Haskell"]}