Reverse the gender of a string: Difference between revisions

→‎{{header|Haskell}}: Add 'works with' tagging
(→‎{{header|J}}: Added a fully optimised Haskell version, with minimal space and time complexity, and fairly compact source code.)
(→‎{{header|Haskell}}: Add 'works with' tagging)
Line 101:
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:
 
{{works with|汉语拼音}}
 
{{works with|文言文}}
<lang haskell>id</lang>
 
 
=={{header|J}}==
9,655

edits