https://github.com/mbarbin/pp-log
A collection of libraries to log and raise user messages with Pp
https://github.com/mbarbin/pp-log
Last synced: over 1 year ago
JSON representation
A collection of libraries to log and raise user messages with Pp
- Host: GitHub
- URL: https://github.com/mbarbin/pp-log
- Owner: mbarbin
- License: mit
- Created: 2024-11-09T14:24:44.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-03-09T20:24:31.000Z (over 1 year ago)
- Last Synced: 2025-03-09T20:25:34.241Z (over 1 year ago)
- Language: OCaml
- Size: 90.8 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGES.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# pp-log
[](https://github.com/mbarbin/pp-log/actions/workflows/ci.yml)
⚠️ This project is still active, but it has moved [there](https://github.com/mbarbin/pplumbing). This repository will be archived and made read-only.
----
In this project I explore designs to build pretty printed documents to log and raise user messages with `pp`.
I intend to produce something compatible with [logs](https://github.com/dbuenzli/logs), [pp](https://github.com/ocaml-dune/pp) and design choices made by `dune` for [user_message](https://github.com/ocaml/dune/blob/main/otherlibs/stdune/src/user_message.mli).
This is very experimental and a work in progress.
## Acknowledgements
- We would like to thank the Dune developers for the user-facing error handling of Dune (`Stdune.User_message`), on which we based the error handling scheme used in (`Err`). By adopting a similar approach, we aim to provide a consistent and unified user experience for OCaml users across different tools and libraries.