こにょにょの冒険
こにょにょの冒険
Subscribe

こにょにょの冒険

Top > lisp

lisp

Recent Popular
2016-06-12

初めての人のためのLISP 第6講

lisp

読者の宿題、atom-countを書いてみた。 (defun atom-count (x) (cond ((atom x) 1) (t (atom-count2 x)))) (defun atom-count2 (x) (cond ((null x) 0) ((atom (car x)) (1+ (atom-count2 (cdr x)))) (t (+ (atom-count2 (car x)) (atom-count2 (cdr x))))))

Hatena Bookmark - 初めての人のためのLISP 第6講
Profile
id:yabaniyatun id:yabaniyatun
Subscribed unsubscribe Subscribe Subscribe
About this blog
Search
Links
  • Hatena Blog
  • ブログをはじめる
  • Weekly Hatena Blog
  • Hatena Blog Pro
Recent Entries
  • メモ2
  • メモ
  • ガウス雑音がある通信路の通信路容量
  • 初めての人のためのLISP 第6講
  • 定常情報源のエントロピーレート
Archive
  • ▼ ▶
    2016
    • 2016 / 8
    • 2016 / 6
    • 2016 / 4
    • 2016 / 3
    • 2016 / 1
  • ▼ ▶
    2015
    • 2015 / 11
    • 2015 / 10
    • 2015 / 9
    • 2015 / 8
    • 2015 / 7
    • 2015 / 6
    • 2015 / 5
    • 2015 / 4
    • 2015 / 2
    • 2015 / 1
  • ▼ ▶
    2014
    • 2014 / 12
    • 2014 / 11
    • 2014 / 10
    • 2014 / 9
    • 2014 / 8
    • 2014 / 7
    • 2014 / 6
    • 2014 / 5
    • 2014 / 4
    • 2014 / 3
    • 2014 / 2
    • 2014 / 1
  • ▼ ▶
    2013
    • 2013 / 12
    • 2013 / 11
    • 2013 / 10
    • 2013 / 9
    • 2013 / 7
    • 2013 / 6
    • 2013 / 5
    • 2013 / 4
    • 2013 / 3
    • 2013 / 2
    • 2013 / 1
  • ▼ ▶
    2012
    • 2012 / 12
    • 2012 / 10
    • 2012 / 9
    • 2012 / 8
    • 2012 / 7
    • 2012 / 6
    • 2012 / 5
    • 2012 / 4
    • 2012 / 3
    • 2012 / 2
    • 2012 / 1
  • ▼ ▶
    2011
    • 2011 / 12
    • 2011 / 11
    • 2011 / 10
    • 2011 / 9
    • 2011 / 8
    • 2011 / 6
    • 2011 / 3
    • 2011 / 2
    • 2011 / 1
こにょにょの冒険 こにょにょの冒険

Powered by Hatena Blog | ブログを報告する

Quote saved.

Login to quote this blog

Failed to save quote. Please try again later.

You cannot quote because this article is private.

Subscribed unsubscribe Subscribe Subscribe