gregwebs / Shelly.hs

Haskell shell scripting
BSD 3-Clause "New" or "Revised" License
418 stars 88 forks source link

src/Shelly.hs: minor haddock fixes #184

Closed vvv closed 5 years ago

vvv commented 5 years ago

Change 1

bind some arguments to run for re-use. Example:

‘run’ in the sentence above is perceived as a normal word, confusing the reader. It is only after looking at

bind some arguments to run_ for re-use, and require 1 argument. Example:

it became clear that run is an identifier.

Change 2

git = command1 "git" []; git "pull" ["origin", "master"]

is harder to parse than

git = command1 "git" []
git "pull" ["origin", "master"]

The latter formatting is also symmetrical to

monit = command "monit" ["-c", "monitrc"]
monit ["stop", "program"]
gregwebs commented 5 years ago

Thanks!