Skip to content

Comments

Feat/245 upgrade by packagelist#256

Merged
njlr merged 2 commits intobuckaroo-reduxfrom
feat/245-upgrade-by-packagelist
Jan 10, 2019
Merged

Feat/245 upgrade by packagelist#256
njlr merged 2 commits intobuckaroo-reduxfrom
feat/245-upgrade-by-packagelist

Conversation

@nikhedonia
Copy link
Collaborator

No description provided.

@nikhedonia nikhedonia requested a review from njlr January 10, 2019 17:24
| Install
| Upgrade
| Quickstart
| UpgradeDependencies of List<PackageIdentifier>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perhaps better modelled as List<PackageIdentifier> option?

None -> Upgrade everything
Some [] -> Upgrade nothing
Some xs -> Upgrade only xs

(text "Removing [ ") +
(packages |> Seq.map PackageIdentifier.showRich |> RichOutput.concat (text " ")) +
(text "Removing [ ") +
(packages |> Seq.map PackageIdentifier.showRich |> RichOutput.concat (text " ")) +
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pretty sure RichOutput has + operator implemented. So you could do things like: "abc" |> text |> ((+) "def")

@njlr njlr merged commit 8bf0566 into buckaroo-redux Jan 10, 2019
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.

2 participants