benches/strings: add .gitignore and `make clean`
[nit.git] / examples / rosettacode / reverse_a_string.nit
1 #!/usr/bin/env nit
2 #
3 # This file is part of NIT ( http://www.nitlanguage.org ).
4 # This program is public domain
5
6 # Task: Reverse a string
7 # SEE: <http://rosettacode.org/wiki/Reverse_a_string>
8 #
9 # Unicode is not yet preserved :(
10 print "asdf".reversed
11
12 # does not work yet :(
13 #print "as⃝df̅".reversed