mirror of
https://github.com/ruuda/rcl.git
synced 2025-12-23 04:47:19 +00:00
5 lines
79 B
Text
5 lines
79 B
Text
let apply_twice = (f, x) => f(f(x));
|
|
apply_twice(x => x * x, 4)
|
|
|
|
# output:
|
|
256
|