Shortest Pharo could be:
(1 to: 100)
collect: [:counter |
({15->'FizzBuzz'. 5->'Buzz'. 3->'Fizz'. 1->counter}
detect: [:aRule | counter isDivisibleBy: aRule key ]) value
]
Some other ways:
- Minimal
- Pharo Intro including FizzBuzz