uc_ja icon indicating copy to clipboard operation
uc_ja copied to clipboard

書籍『アンダースタンディング コンピュテーション』のサポートリポジトリです。

Results 7 uc_ja issues
Sort by recently updated
recently updated
newest added

```ruby class Number def evaluate(environment) self end end class Boolean def evaluate(environment) self end end ``` などと書かれていますが ```ruby class Number < Struct.new(:value) def to_s value.to_s end def inspect "" end...

T`Type::BOOLEAN` の `T` が余分ではないでしょうか。

監訳注の `"no"` と言って停止というのは環境 (スタックの深さ) に依存して `"yes"` になることもあるので、不正確ではないでしょうか。

以下の文に不要な「を」が入っています。 # minimizeを使うことで「を」簡単に#divideを実装できます。

内容の間違いではないですが dpda.accepting?の実行結果falseがボールドになっています

``` case first when DoNothing.new [ second, environment ] else reduced_first, reduced_environment = first.reduce( environment ) [ Sequence.new( reduced_first ), second), reduced_environment ] end ``` のところは DoNothing.new でもなく、 DoNothing の方がいいのではないか...

単純な誤記ですがご報告します。 オライリー・ジャパン様にも報告済みです。 初版第一刷 6章 p.172 最終行 「等しければtureを返し」 → 「等しければtrueを返し」 (trueをtureに誤記)