9 lines
281 B
Plaintext
9 lines
281 B
Plaintext
fn main(): Unit = {
|
|
Console.print("=== FBIP Allocation Test ===")
|
|
let a = List.range(1, 100)
|
|
let b = List.map(a, fn(x: Int): Int => x * 2)
|
|
let c = List.filter(b, fn(x: Int): Bool => x > 50)
|
|
let d = List.reverse(c)
|
|
Console.print("Single owner chain done")
|
|
}
|