pprint
💄 Pretty print values with style!
gleam add pprint --dev
import pprint
pub fn main() {
Ok(["my", "super", "awesome", "useless", "list"])
|> pprint.debug
}
// Prints (with color!):
// Ok([
// "my",
// "super",
// "awesome",
// "useless",
// "list",
// ])
Further documentation can be found at https://hexdocs.pm/pprint.
Development
gleam run # Run the project
gleam test # Run the tests