Logo

Programming-Idioms

History of Idiom 41 > diff from v14 to v15

Edit summary for version 15 by :

Version 14

2015-08-22, 20:45:58

Version 15

2015-09-03, 15:23:57

Idiom #41 Reverse a string

Create string t containing the same characters as string s, in reverse order.
Original string s must remain unaltered. Each character must be handled correctly regardless its number of bytes in memory.

Idiom #41 Reverse a string

Create string t containing the same characters as string s, in reverse order.
Original string s must remain unaltered. Each character must be handled correctly regardless its number of bytes in memory.

Code
t s = reverse s :: String