sort-by-pinyin: sort by pinyin

This is a package candidate release! Here you can preview how this package release will appear once published to the main package index (which can be accomplished via the 'maintain' link below). Please note that once a package has been published to the main package index it cannot be undone! Please consult the package uploading documentation for more information.

[maintain] [Publish]

Sort Simplified Chinese by pinyin


[Skip to Readme]

Properties

Versions 2012.6.5, 2014.5.19, 2017.10.18, 2018.4.9, 2018.4.9
Change log changelog.md
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 <nfjinjing@gmail.com>
Category Web
Home page https://github.com/nfjinjing/sort-by-pinyin
Uploaded by JinjingWang at 2018-07-11T12:37:16Z

Modules

[Index]

Downloads

Maintainer's Corner

Package maintainers

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"]