re: Challenge: Write a program that never stops VIEW POST

FULL DISCUSSION
 

Scala

@tailrec 
final def diamond(b: Boolean): Boolean = 
   if(b) diamond(b) 
   else b
code of conduct - report abuse