Skip to content

Commit

Permalink
(merge) reverse-string: fix example solution
Browse files Browse the repository at this point in the history
Merge pull request exercism#92 from loziniak/fix-reverse-string-example
  • Loading branch information
loziniak authored May 5, 2023
2 parents c39cf91 + 81342ec commit febb636
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions exercises/practice/reverse-string/.meta/example.red
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,12 @@ Red [
author: "loziniak"
]

reverse-string: function [
red-reverse: :system/words/reverse

reverse: function [
"Reverses a string"
input [string!] "String to reverse"
return: [string!]
] [
reverse input
red-reverse input
]

0 comments on commit febb636

Please sign in to comment.