タグ

2013年4月28日のブックマーク (4件)

  • Search

    Releases, Offers & More Be the first to hear about our newest content, best promotions and upcoming events. Plus get 25% off your next purchase. Newsletter Sign Up Download Accounts Your email address is your account identifier. You can create a password, or just download from the links sent via email. My Orders (Resend order emails) How We're Different Hands-on instructions Solutions to real-worl

  • Concurrency (computer science) - Wikipedia

    "Concurrent computer" redirects here. For the company, see Concurrent Computer Corporation. The "Dining Philosophers", a classic problem involving concurrency and shared resources In computer science, concurrency is the ability of different parts or units of a program, algorithm, or problem to be executed out-of-order or in partial order, without affecting the outcome. This allows for parallel exe

    Concurrency (computer science) - Wikipedia
  • Clojure すごい Haskell たのしく学ぼう! (1) はじめの一歩 - tnoda-clojure

    関数プログラミングについては良い教科書がたくさん出ていますが, 残念ながら OCaml か Haskell で書かれたものが目につくばかりで, Clojure でサンプルコードが示されたものを私は見たことがありません. 関数プログラミングを勉強しようと思うと, これらどちらかのプログラミング言語を修得しないといけなくなるわけですが, ちょうど, すごい Haskell たのしく学ぼう が発売されたので,Haskell を勉強してみることにします. ただし,を買うお金が無いのでオリジナル Web サイト, Learn You a Haskell for Great Good! を読みすすめることにします. 訳は見たことがないのですが,きっと,どちらを読んでも同じでしょう. このシリーズでは,Miran Lipovača 著 Learn You a Haskell for Great Go

    Clojure すごい Haskell たのしく学ぼう! (1) はじめの一歩 - tnoda-clojure
    Hash
    Hash 2013/04/28
    すごいH本のサンプルコードをclojureで書きなおしたもの(の最初の方)
  • Clojure のエレガントなところ - hozumiの日記

    リスト、ハッシュマップ、ベクタ、集合のリテラルがある ;リスト (1 2 3 4) ;ハッシュマップ {:a 1, :b 2, :c 3} ;ベクタ [1 2 3 4] ;集合 #{1 2 3 4} よく使う基データ型のリテラルがあるというのはソースコードに図が入ってるみたいで考えるよりも早く理解できる。しかもいじりやすい。他の多くの言語でもこれらの基データ型のリテラルは用意されているが、Clojure ではこれらはとてもよく使う重要なビルディングブロック。 リスト、ハッシュマップ、ベクタ、集合、文字列 をシーケンスとして抽象化 (take 2 '(a b c d)) ;リスト ;=> (a b) (take 2 {:a 1 :b 2 :c 3 :d 4}) ;ハッシュマップ ;=> ([:a 1] [:b 2]) (take 2 [:a :b :c :d]) ;ベクタ ;=> (:a

    Clojure のエレガントなところ - hozumiの日記
    Hash
    Hash 2013/04/28
    ()リスト, {:a 1}ハッシュマップ, []ベクタ, #{}集合 で表記, それぞれシーケンス(Lispリスト的な)として抽象化. 並行処理がまだわからん