Skip to content

wireapp/text-icu-translit

 
 

Repository files navigation

ICU transliteration for Haskell

>>> IO.putStrLn $ transliterate (trans "name-any; ru") "\\N{RABBIT FACE} Nu pogodi!"
🐰 Ну погоди!

>>> IO.putStrLn $ transliterate (trans "nl-title") "gelderse ijssel"
Gelderse IJssel

>>> IO.putStrLn $ transliterate (trans "ja") "Amsterdam"
アムステルダム

Developing

  • to see available outputs (targets), run
    nix flake show --allow-import-from-derivation
  • with flakes and nix command enabled, run
    nix develop -Lv
    to be dropped into a devShell or, alternatively, if you use direnv, run
    direnv allow
  • to build and run the tests, run
    nix build -Lv
  • refer to the flake parts and the haskell flake documentations if you want to change the flake configs

Releases

No releases published

Packages

No packages published

Languages

  • Haskell 69.3%
  • C 17.7%
  • Nix 12.9%
  • Shell 0.1%