開発環境
- macOS Sierra - Apple (OS)
- Emacs (Text Editor)
- Perl 6 (プログラミング言語)
- Rakudo(コンパイラ、実装)
Think Perl 6: How to Think Like a Computer Scientist (Laurent Rosenfeld(著)、Allen B. Downey(著)、Oreilly & Associates Inc)のPart 2(Moving Forward)、Chapter 12(Classes and Objects)の Inheritance(The Pixel Class)のコードにミスがあるっぽいから報告、提出してみた。
Inheritance(The Pixel Class) (No. 5059)
ではなく、printf \tAbscissa: …";
printf "\tAbscissa: …";
確認。
入出力結果(Terminal)
$ perl6 sample_errata.pl
===SORRY!=== Error while compiling …/sample_errata.pl
Two terms in a row
at …/sample_errata.pl:1
------> printf \tAbscissa: …⏏";
expecting any of:
infix
infix stopper
postfix
statement end
statement modifier
statement modifier loop
$ perl6 sample.pl
Abscissa: …$
0 コメント:
コメントを投稿