Skip to content

class

← Back

Basic Info

Functional Programming
└── Lab ML
    └── 0​506
        └── class.sc

Preview

def triple(x: Int): Int = x * 3

val tripleCopy: (Int) => Int = triple

println(tripleCopy(5))