Skip to content

Pharophile/FizzBuzz

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

FizzBuzz

See Coding Dojo Katas

Shortest Pharo could be:

(1 to: 100) 
  collect: [:counter | 
    ({15->'FizzBuzz'. 5->'Buzz'. 3->'Fizz'. 1->counter}
      detect: [:aRule | counter isDivisibleBy: aRule key ]) value 
      ]

Let's fizz and buzz

Some other ways:

Releases

No releases published

Packages

No packages published