[ANN] Feather 0.2.0

Hi OCamlers!

I’m happy to announce feather version 0.2.0! Feather is a minimal library for bash-like scripting and process execution. (github, opam)

This release fixes some bugs and adds three new functions

  • val and_ : cmd -> cmd -> cmd — chain two commands, short circuiting if the first fails, akin to bash’s && operator.
  • val or_ : cmd -> cmd -> cmd — chain two commands, short circuiting if the first succeeds, akin to bash’s || operator.
  • val sequence : cmd -> cmd -> cmd — chain two commands regardless of exit status.

We include two new operators &&. and ||. which correspond to and_ and or_ respectively. They’ll be found in the Feather.Infix module, which has been renamed from Feather.File_redirection_infix.

Many thanks to new contributors @Firobe @juxd and @tmarti2 for making this release possible!

10 Likes