Reverse a string: Difference between revisions

Content added Content deleted
Tags: Mobile edit Mobile web edit
No edit summary
Line 1,715: Line 1,715:
<syntaxhighlight lang="clojure">
<syntaxhighlight lang="clojure">
!dlrow olleH
!dlrow olleH
</syntaxhighlight>

=={{header|Fennel}}==
Uses the same methods (and suffers from the same limitations) as [[#Lua|the Lua example]].
<syntaxhighlight lang="fennel">
(let [example :asdf]
(string.reverse example) ; fdsa
(example:reverse) ; fdsa
nil)
</syntaxhighlight>
</syntaxhighlight>