sort-by-pinyin: sort by pinyin

[ bsd3, library, web ] [ Propose Tags ]

Sort Simplified Chinese by pinyin

[Skip to Readme]


Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees


Versions [RSS] 2012.6.5, 2014.5.19, 2017.10.18, 2018.4.9
Change log
Dependencies air (>=2014.5.19), base (>=4 && <5), bytestring, containers, here, template-haskell, text [details]
License BSD-3-Clause
Author Jinjing Wang
Maintainer Jinjing Wang <>
Category Web
Home page
Uploaded by JinjingWang at 2018-07-11T12:38:35Z
Distributions NixOS:2018.4.9
Reverse Dependencies 1 direct, 0 indirect [details]
Downloads 3015 total (10 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2018-07-11 [all 1 reports]

Readme for sort-by-pinyin-2018.4.9

[back to package description]

Sort simplified Chinese by PinYin

> compare_chinese_string_by_pinyin "Angel" "天使"
> compare_chinese_string_by_pinyin "恶魔" "天使"
> compare_chinese_string_by_pinyin "恶魔" "大天使"
> map show_pinyin "世界"
[Just "shi4",Just "jie4"]