This lesson is for subscribers
You've completed the free preview. Subscribe to unlock every lesson in every course.
Generate immutable lists containing n copies of the same element using nCopies factory method.
You've completed the free preview. Subscribe to unlock every lesson in every course.