ruchy 4.2.1

A systems scripting language that transpiles to idiomatic Rust with extreme quality engineering
Documentation
1
2
3
4
5
6
7
8
9
// Example 10: Closures
// Tests: Closure creation and calling
// Expected: 15

fun main() {
    let add = |a, b| a + b
    let result = add(5, 10)
    println(result)
}