Skip to content

add --compact switch to the pretty-simple executable#111

Merged
cdepillabout merged 1 commit intocdepillabout:masterfrom
juhp:patch-2
Jun 7, 2022
Merged

add --compact switch to the pretty-simple executable#111
cdepillabout merged 1 commit intocdepillabout:masterfrom
juhp:patch-2

Conversation

@juhp
Copy link
Copy Markdown
Contributor

@juhp juhp commented Jun 5, 2022

This is towards #34 adding a --compact cli option.

@cdepillabout
Copy link
Copy Markdown
Owner

cdepillabout commented Jun 7, 2022

This looks good to me!

$ pretty-simple --compact
{ "hello" = [ "now", "bad" ], tomorrow = Just (3, 4) }^D
{ "hello" = [ "now", "bad"  ], tomorrow = Just ( 3, 4 )  }
$ pretty-simple
{ "hello" = [ "now", "bad" ], tomorrow = Just (3, 4) }^D
{ "hello" =
    [ "now"
    , "bad"
    ]
, tomorrow = Just
    ( 3
    , 4
    )
}

@cdepillabout cdepillabout merged commit 05e387c into cdepillabout:master Jun 7, 2022
@cdepillabout
Copy link
Copy Markdown
Owner

@georgefst @juhp Want me to do a release?

@georgefst
Copy link
Copy Markdown
Collaborator

@georgefst @juhp Want me to do a release?

Go for it, thanks!

I've just merged #104, which gives us one more reason to release.

@juhp juhp deleted the patch-2 branch June 7, 2022 17:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants