Reimplementing the standard commands in Nim - because you can!