Nim is a compiled, garbage-collected systems programming language which has an excellent productivity/performance ratio. Nim's design focuses on efficiency, expressiveness, elegance (in the order of priority).
use2
wrapper
import sugar
proc twoInts2Int[T](fn: (int, int) -> int; x, y: T): T =
## Wrapper proc to define the ``fn`` type, and to pass its inputs.
fn(x, y)
echo twoInts2Int((x, y) => x + y, 2, 3)
:=
)