proc `()`[T](a: openArray[T], i: int): T = a[i] let a = [1, 2, 3, 4]echo a(2)
Standard input is empty
3
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!