Reverse a string: Difference between revisions
m
→{{header|Haskell}}
Line 1,565:
This function as defined in the Haskell Prelude.
Though variants using a helper function with an additional accumulator argument are more efficient, and are now used by default in GHC.List unless the USE_REPORT_PRELUDE key is set.
Perhaps, for example:
|