You are viewing a single comment's thread. Return to all comments →
which is probably syntactic sugar for arr.flatMap(e => (1 to num).map(_ => e))
arr.flatMap(e => (1 to num).map(_ => e))
Seems like cookies are disabled on this browser, please enable them to open this website
List Replication
You are viewing a single comment's thread. Return to all comments →
which is probably syntactic sugar for
arr.flatMap(e => (1 to num).map(_ => e))