``` val getPremiumWithTotal = { cc: CreditCard -&g...
# language-proposals
o
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