You are viewing a single comment's thread. Return to all comments →
Functional scala approach:
def hello = println("Hello World") def f(n) = 1 to n map (i => hello)
Seems like cookies are disabled on this browser, please enable them to open this website
Hello World N Times
You are viewing a single comment's thread. Return to all comments →
Functional scala approach: