4 lines
81 B
Nim
4 lines
81 B
Nim
template first*(s: seq): auto = s[0]
|
|
|
|
template last*(s: seq): auto = s[len(s)-1]
|