Skip to content

Instantly share code, notes, and snippets.

@josep2
Created November 21, 2019 04:20
Show Gist options
  • Save josep2/066df1a2b352ed741e41ac36ff8f498c to your computer and use it in GitHub Desktop.
Save josep2/066df1a2b352ed741e41ac36ff8f498c to your computer and use it in GitHub Desktop.
case class Player(firstName: String, lastName: String, ppg: Double, apg: Double, rpg: Double)
val jf = Player.curried("Jimmer")("Fredette")(1.1)(0.1)(0.2)
print(jf)
// Player(Jimmer,Fredette,1.1,0.1,0.2)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment