Reverse the gender of a string: Difference between revisions

m
(→‎{{header|Haskell}}: Add 'works with' tagging)
Line 97:
=={{header|Haskell}}==
 
We can optimise the time and space complexity of this computation by careful selection of the source and target languages (not specified in the task description, although the example appears to be drawn from some kind of Anglo -Saxon dialect, which seems a bit sub-optimal for these purposes).
 
Sino-Tibetan dialects generally work well here. If we choose any standard transcription of Modern Standard Chinese (such as Pinyin or IPA) or more or less any written sample example of pre 19c literary Chinese, we can reduce the entire computation down to a very pleasing intersection of code golf with fully optimized space and time performance:
9,655

edits