https://github.com/giacomocavalieri/pretty_diff
⚖️ Pretty printing the difference between Gleam values
https://github.com/giacomocavalieri/pretty_diff
Last synced: 25 days ago
JSON representation
⚖️ Pretty printing the difference between Gleam values
- Host: GitHub
- URL: https://github.com/giacomocavalieri/pretty_diff
- Owner: giacomocavalieri
- License: apache-2.0
- Created: 2024-06-04T15:00:36.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-06-05T07:09:15.000Z (11 months ago)
- Last Synced: 2025-03-28T17:00:00.871Z (29 days ago)
- Language: Gleam
- Homepage: https://hexdocs.pm/pretty_diff/
- Size: 20.5 KB
- Stars: 7
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# pretty_diff
[](https://hex.pm/packages/pretty_diff)
[](https://hexdocs.pm/pretty_diff/)
⚖️ Pretty printing the difference between Gleam values
## Installation
```sh
gleam add pretty_diff
```## Usage
```gleam
import pretty_diffpub fn main() {
pretty_diff.from(Ok("old"), and: Ok("new"))
// -> Ok(-"old" +"new")
}
```