in haskell you use mostly use guards `| ` instead ...
# random
t
in haskell you use mostly use guards
|
instead of
if
, recursion instead of cycles, and you have pattern matching on the function definition, so no need for
when
as well.