https://github.com/diasbruno/hs-unac-bindings
Haskell binding for unac(3).
https://github.com/diasbruno/hs-unac-bindings
Last synced: about 2 months ago
JSON representation
Haskell binding for unac(3).
- Host: GitHub
- URL: https://github.com/diasbruno/hs-unac-bindings
- Owner: diasbruno
- License: unlicense
- Created: 2023-08-30T14:18:42.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2023-08-30T15:28:42.000Z (over 1 year ago)
- Last Synced: 2025-04-01T19:59:21.202Z (about 2 months ago)
- Language: Haskell
- Size: 4.88 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README
# haskell bindings for unac(3) _[hackage](https://hackage.haskell.org/package/unac-bindings)_

this package doesn't bind (yet) all functionalities
of unac(3), but the most used one `unac_string`.## usage
```hs
unacString utf8Encode "été" == unacStringUtf8 "été" == Right "ete"
```if you get `Left (x :: Int)`, this means that an error happened.
to further investigate the error, you will need to handle by yourself (for now)
using `errno` and do the appropriate handling.## license
Unlicense
see [LICENSE](https://github.com/diasbruno/hs-unac-bindings/blob/master/LICENSE)