In Haskell, when I need a quick worker function or helper value, I usually use prime ('
) that is widely used in mathematics. For instance, if I were to write a reverse
function and needed a tail-recursive worker, I would name it reverse'
.
In Scala, function names can't contain a '
. Is there any commonly accepted naming scheme for helper functions and values in Scala?