Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/diasbruno/hs-unac-bindings
Haskell binding for unac(3).
https://github.com/diasbruno/hs-unac-bindings
Last synced: 9 days 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 (about 1 year ago)
- Default Branch: master
- Last Pushed: 2023-08-30T15:28:42.000Z (about 1 year ago)
- Last Synced: 2024-10-07T05:24:22.744Z (30 days ago)
- Language: Haskell
- Size: 4.88 KB
- Stars: 0
- Watchers: 3
- 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)_
![tests](https://github.com/diasbruno/hs-unac-bindings/actions/workflows/haskell.yml/badge.svg)
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)