Created
January 19, 2016 16:25
-
-
Save l15k4/89d4c5730fa5d0288088 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def generateTimeField(format: SimpleDateFormat)(i: Int) = do-stuff-with-thread-unsafe-format | |
val curriedF = generateTimeField(new SimpleDateFormat("foo"))_ | |
List(1,2,3,4).par.map(curriedF) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment