飲む、寝る。
飲む、寝る。
Subscribe

飲む、寝る。

Entries from 2012-05-18 to 1 day

2012-05-18

Project EulerをSchemeで(36-40)

Gauche Project Euler

Schemeらしい書き方も勉強しなきゃ。 (use srfi-1) (define (integer->list i) (letrec ((i->rl (^(i) (cons (modulo i 10) (if (< i 10) '() (i->rl (quotient i 10))))))) (reverse (i->rl i)))) (define (list->integer l) (define (shift-d n) (let loop…

Hatena Bookmark - Project EulerをSchemeで(36-40)
Profile
id:nomnel id:nomnel
Subscribed unsubscribe Subscribe Subscribe
About this blog
Search
Links
  • Hatena Blog
  • ブログをはじめる
  • Weekly Hatena Blog
  • Hatena Blog Pro
Recent Entries
  • letとletrecが必要なのはなぜか
  • うなぎ食べたい
  • Project Eulerの問題をiPhoneでサクサク読みたい
  • Project EulerをSchemeで(46-50)
  • Project EulerをSchemeで(41-45)
Archive
  • ▼ ▶
    2012
    • 2012 / 7
    • 2012 / 6
    • 2012 / 5
    • 2012 / 4
    • 2012 / 3
    • 2012 / 1
  • ▼ ▶
    2011
    • 2011 / 12
    • 2011 / 11
    • 2011 / 4
  • ▼ ▶
    2010
    • 2010 / 8
  • ▼ ▶
    2009
    • 2009 / 10
飲む、寝る。 飲む、寝る。

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