pretty_diff

Package Version Hex Docs Supported targets

⚖️ Pretty printing the difference between Gleam values

Installation

gleam add pretty_diff

Usage

import pretty_diff

pub fn main() {
  pretty_diff.from(Ok("old"), and: Ok("new"))
  // -> Ok(-"old" +"new")
}
Search Document