GithubHelp home page GithubHelp logo

mystpi / pprint Goto Github PK

View Code? Open in Web Editor NEW
22.0 1.0 1.0 55 KB

๐Ÿ’„ Pretty print values with style!

Home Page: https://hexdocs.pm/pprint/

License: Apache License 2.0

JavaScript 7.00% Gleam 74.56% Erlang 18.44%
debugging gleam pretty-print pretty-printer pretty-printing testing

pprint's Introduction

pprint

Package Version Hex Docs

๐Ÿ’„ 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

pprint's People

Contributors

giacomocavalieri avatar mystpi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

pprint's Issues

Can't install

โ‹Š> ~/P/xxx on   gleam add pprint --dev                                16:52:27
  Resolving versions
error: Dependency resolution failed

An error occurred while determining what dependency packages and
versions should be downloaded.
The error from the version resolver library was:

Because birdie [ 1.0.0, 1.0.1 [  [ 1.0.5, 1.1.0 [  [ 1.1.1, 2.0.0 [ depends
on glam 1.3.0 <= v < 2.0.0 and birdie 1.0.1 depends on glam 1.3.0 <= v <
2.0.0, birdie [ 1.0.0, 1.0.2 [  [ 1.0.5, 1.1.0 [  [ 1.1.1, 2.0.0 [ depends
on glam 1.3.0 <= v < 2.0.0.
And because birdie 1.0.2 depends on filepath 0.1.0 <= v < 1.0.0 and birdie
1.0.3 depends on glam 1.3.0 <= v < 2.0.0, birdie [ 1.0.0, 1.0.4 [  [ 1.0.5,
1.1.0 [  [ 1.1.1, 2.0.0 [, glam Not ( 1.3.0 <= v < 2.0.0 ), filepath Not
( 0.1.0 <= v < 1.0.0 ) are incompatible.
And because birdie 1.0.4 depends on filepath 0.1.0 <= v < 1.0.0 and birdie
1.1.0 depends on filepath 0.1.0 <= v < 1.0.0, birdie 1.0.0 <= v < 2.0.0,
glam Not ( 1.3.0 <= v < 2.0.0 ), filepath Not ( 0.1.0 <= v < 1.0.0 ) are
incompatible.
And because glam 2.0.0 depends on birdie 1.0.0 <= v < 2.0.0 and pprint
1.0.0 depends on glam 2.0.0 <= v < 3.0.0, pprint 1.0.0 depends on filepath
0.1.0 <= v < 1.0.0. (1)

Because birdie [ 1.0.0, 1.0.1 [  [ 1.0.5, 1.1.0 [  [ 1.1.1, 2.0.0 [ depends
on glam 1.3.0 <= v < 2.0.0 and birdie 1.0.1 depends on glam 1.3.0 <= v <
2.0.0, birdie [ 1.0.0, 1.0.2 [  [ 1.0.5, 1.1.0 [  [ 1.1.1, 2.0.0 [ depends
on glam 1.3.0 <= v < 2.0.0.
And because birdie 1.0.2 depends on filepath 0.1.0 <= v < 1.0.0 and birdie
1.0.3 depends on glam 1.3.0 <= v < 2.0.0, birdie [ 1.0.0, 1.0.4 [  [ 1.0.5,
1.1.0 [  [ 1.1.1, 2.0.0 [, glam Not ( 1.3.0 <= v < 2.0.0 ), filepath Not
( 0.1.0 <= v < 1.0.0 ) are incompatible.
And because birdie 1.0.4 depends on filepath 0.1.0 <= v < 1.0.0 and birdie
1.1.0 depends on filepath 0.1.0 <= v < 1.0.0, birdie 1.0.0 <= v < 2.0.0,
glam Not ( 1.3.0 <= v < 2.0.0 ), filepath Not ( 0.1.0 <= v < 1.0.0 ) are
incompatible.
And because glam 2.0.0 depends on birdie 1.0.0 <= v < 2.0.0 and pprint
1.0.1 depends on glam 2.0.0 <= v < 3.0.0, pprint 1.0.1 depends on filepath
0.1.0 <= v < 1.0.0.
And because pprint 1.0.0 depends on filepath 0.1.0 <= v < 1.0.0 (1), pprint
depends on filepath 0.1.0 <= v < 1.0.0.
And because xxx 0.0.0 depends on filepath 1.0.0 and xxx 0.0.0 depends
on pprint, xxx 0.0.0 is forbidden.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.