Sha256: 61a8d2c52628b372fb4c99ade2b4f3effcfcd35607e12f7688daa05d2a9a6b30

Contents?: true

Size: 328 Bytes

Versions: 23

Compression:

Stored size: 328 Bytes

Contents

NB. Procedural programming
fizzbuzz=: monad define
  for_i. >:i.y do.
    if.     0 = 15 | i do. echo'FizzBuzz'
    elseif. 0 =  3 | i do. echo'Fizz'
    elseif. 0 =  5 | i do. echo'Buzz'
    else.                  echo i
    end.
  end.
)
NB. Loopless programming
fizzbuzz=: echo@(, ::] ('Fizz' ; 'Buzz') ;@#~ 0 = 3 5&|)@>:@i.

Version data entries

23 entries across 23 versions & 2 rubygems

Version Path
rouge-4.5.1 lib/rouge/demos/j
rouge-4.5.0 lib/rouge/demos/j
rouge-4.4.0 lib/rouge/demos/j
rouge-4.3.0 lib/rouge/demos/j
rouge-4.2.1 lib/rouge/demos/j
rouge-4.2.0 lib/rouge/demos/j
rouge-4.1.3 lib/rouge/demos/j
rouge-4.1.2 lib/rouge/demos/j
rouge-4.1.1 lib/rouge/demos/j
mumukit-content-type-1.12.1 vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/j
mumukit-content-type-1.12.0 vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/j
rouge-4.1.0 lib/rouge/demos/j
rouge-4.0.1 lib/rouge/demos/j
rouge-4.0.0 lib/rouge/demos/j
rouge-3.30.0 lib/rouge/demos/j
rouge-3.29.0 lib/rouge/demos/j
rouge-3.28.0 lib/rouge/demos/j
rouge-3.27.0 lib/rouge/demos/j
rouge-3.26.1 lib/rouge/demos/j
mumukit-content-type-1.11.1 vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/j