Skip to content

Latest commit

 

History

History
30 lines (25 loc) · 877 Bytes

README.md

File metadata and controls

30 lines (25 loc) · 877 Bytes

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