sort-by-pinyin: sort by pinyin

[ bsd3, library, web ] [ Propose Tags ]

Sort Simplified Chinese by pinyin


[Skip to Readme]
Versions 2012.6.5, 2014.5.19, 2017.10.18, 2018.4.9
Change log changelog.md
Dependencies air (>=2014.5.19), base (==4.*), bytestring, containers, here, template-haskell, text [details]
License BSD-3-Clause
Author Jinjing Wang
Maintainer Jinjing Wang <nfjinjing@gmail.com>
Category Web
Home page https://github.com/nfjinjing/sort-by-pinyin
Uploaded by JinjingWang at Wed Jul 11 12:38:35 UTC 2018
Distributions NixOS:2018.4.9
Downloads 1099 total (15 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2018-07-11 [all 1 reports]
Hackage Matrix CI

Modules

[Index]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees


Readme for sort-by-pinyin-2018.4.9

[back to package description]

Sort simplified Chinese by PinYin

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