Join Slack
Powered by
``` val getPremiumWithTotal = { cc: CreditCard -&g...
# language-proposals
o
orangy
01/11/2018, 6:51 PM
Copy code
val getPremiumWithTotal = { cc: CreditCard -> CreditCard.getPremium(creditCards.size, cc) }
Even if you want a value as a functional type, it’s just this, no?
➕ 3
Open in Slack
Previous
Next