{"url":"https://sirocco.hatenadiary.org/entry/20111029/1319836563","author_name":"sirocco","height":"190","title":"\u300cWrite Yourself a Scheme in 48 Hours\u300d \u3092\u5199\u7d4c\u3057\u3066\u307f\u308b(11) : Env \u306e\u5185\u5bb9\u304c\u307f\u305f\u3044","categories":["Haskell"],"provider_name":"Hatena Blog","type":"rich","provider_url":"https://hatena.blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsirocco.hatenadiary.org%2Fentry%2F20111029%2F1319836563\" title=\"\u300cWrite Yourself a Scheme in 48 Hours\u300d \u3092\u5199\u7d4c\u3057\u3066\u307f\u308b(11) : Env \u306e\u5185\u5bb9\u304c\u307f\u305f\u3044 - 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>","published":"2011-10-29 06:16:03","image_url":null,"width":"100%","blog_title":"sirocco \u306e\u66f8\u3044\u3066\u3082\u3059\u3050\u306b\u5fd8\u308c\u308b\u30e1\u30e2","blog_url":"https://sirocco.hatenadiary.org/","version":"1.0","author_url":"https://blog.hatena.ne.jp/sirocco/","description":"\u300cWrite Yourself a Scheme in 48 Hours\u300d \u3092\u5199\u7d4c\u3057\u3066\u307f\u308b(9) : \u5909\u6570\u306e\u8ffd\u52a0\u3068\u5272\u308a\u5f53\u3066\u306e\u4e2d\u3067 define, set!\u3067\u5909\u6570\u304c\u5b9a\u7fa9\u3001\u5909\u66f4\u3055\u308c\u308b\u69d8\u5b50\u3092\u8997\u304d\u305f\u304b\u3063\u305f\u306e\u3067\u3059\u304c\u3001IORef \u304c\u5165\u308c\u5b50\u306b\u306a\u3063\u3066\u3044\u3066\u7c21\u5358\u306b\u306f\u8997\u3051\u307e\u305b\u3093\u3002\u305d\u3053\u3067\u3001IORef\u306e\u7df4\u7fd2\u306b\u8868\u793a\u3059\u308b\u95a2\u6570\u3092\u4f5c\u3063\u3066\u307f\u307e\u3057\u305f\u3002 type Env = IORef [(String, IORef LispVal)] -- \u3053\u308c\u304c\u5b9a\u7fa9\u3055\u308c\u3066\u3044\u308b\u578b showEnv :: IORef [(String, IORef LispVal)] -> IO [(String, LispVal)] showEnv envRef \u2026"}