8 lines
163 B
Text
8 lines
163 B
Text
class FunctionDefinition
|
|
{
|
|
public static Void main ()
|
|
{
|
|
multiply := |Int a, Int b -> Int| { a * b }
|
|
echo ("Multiply 2 and 4: ${multiply(2, 4)}")
|
|
}
|
|
}
|