{"author_url":"https://blog.hatena.ne.jp/quek/","image_url":null,"published":"2008-04-22 03:52:12","provider_name":"Hatena Blog","provider_url":"https://hatena.blog","categories":["Common Lisp"],"url":"https://quek.hatenadiary.org/entry/20080422/1208803932","blog_url":"https://quek.hatenadiary.org/","author_name":"quek","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fquek.hatenadiary.org%2Fentry%2F20080422%2F1208803932\" title=\" loop \u3067 \u30d5\u30a3\u30dc\u30ca\u30c3\u30c1\u6570\u3002\u3042\u308b\u3044\u306f and - letter\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","title":" loop \u3067 \u30d5\u30a3\u30dc\u30ca\u30c3\u30c1\u6570\u3002\u3042\u308b\u3044\u306f and","height":"190","description":"\u6b21\u306e\u3088\u3046\u306b\u3057\u3066\u3046\u307e\u304f\u3044\u304b\u306a\u304b\u3063\u305f\u3002 (defun fib (n) (loop for a = 0 then b for b = 1 then (+ a b) repeat n finally (return a))) b \u306b (+ a b) \u3092\u3044\u308c\u308b\u6642\u70b9\u3067 a \u306f b \u306b\u306a\u3063\u3066\u3044\u305f\u304b\u3089\u3002 CLiki: Fibonacci \u3092\u898b\u308b\u3068\u3001\u540c\u3058\u3088\u3046\u306a\u30b3\u30fc\u30c9\u304c\u8f09\u3063\u3066\u3044\u3066\u3001\u3069\u3046\u3057\u3066\u3061\u3083\u3093\u3068\u52d5\u304f\u3093\u3060\u3001\u3068\u3088\u304f\u898b\u3066\u307f\u305f\u3089\u3001b \u306e\u524d\u306e for \u304c and \u306b\u306a\u3063\u3066\u3044\u305f\u3002 (defun fib (n) (loop for a = 0 then b and b = 1 then (+ a b) repeat n fi\u2026","type":"rich","version":"1.0","blog_title":"letter","width":"100%"}