Changelog for shell-monad-0.4.0

shell-monad (0.4.0) unstable; urgency=medium * Var now has a phantom type. This allows the haskell type checker to type check untyped shell variables! * added Arith * Really fix stopOnFailure. Strings. So easy to typo three times. -- Joey Hess <id@joeyh.name> Sat, 27 Dec 2014 10:38:13 -0400 shell-monad (0.3.1) unstable; urgency=medium * Fixed linear rendering of caseOf -- Joey Hess <id@joeyh.name> Fri, 26 Dec 2014 23:49:38 -0400 shell-monad (0.3.0) unstable; urgency=medium * Renamed a few operators. * Added defaultVar, whenVar, lengthVar, and trimVar. * Due to changes in how variable expansion is handled, the val function has been removed, and WithVar should be used instead. * newVar now ensures that the variable starts out empty. * Added caseOf * Fix bug in stopOnFailure. -- Joey Hess <id@joeyh.name> Fri, 26 Dec 2014 22:58:56 -0400 shell-monad (0.2.1) unstable; urgency=medium * Simple support for globs. * Fixed propigation of the outer monad's state into Output, which fixes a bug in the unusual case where variables or funtions are defined inside Output. * Support redirection, including redirection from here-documents. * Here documents are emulated in linearScript output mode. * cmd is now polymorhpic on its first argument, allowing the command to run to be specified using String, Var, or even Output. -- Joey Hess <id@joeyh.name> Fri, 26 Dec 2014 15:20:53 -0400 shell-monad (0.2.0) unstable; urgency=medium * newVar, newVarContaining, takeParameter, and func all now take a namehint parameter, which can be () or (NameHinted "foo"). * Added -&&- and -||- -- Joey Hess <id@joeyh.name> Thu, 25 Dec 2014 20:19:35 -0400 shell-monad (0.1.0) unstable; urgency=medium * Added positionalParameters and takeParameter. * Shell functions can be called with parameters. * String is now an instance of CmdArg -- Joey Hess <id@joeyh.name> Thu, 25 Dec 2014 13:04:35 -0400 shell-monad (0.0.3) unstable; urgency=medium * Added Output data type, which alows cmd to accept (Output (Script ())) as a parameter. * Better Quoted data type. -- Joey Hess <id@joeyh.name> Thu, 25 Dec 2014 12:07:04 -0400 shell-monad (0.0.2) unstable; urgency=medium * Better constructing of pipes. * Added whileCmd, ifCmd, whenCmd, and unlessCmd. * Added stopOnFailure and ignoreFailure. -- Joey Hess <id@joeyh.name> Thu, 25 Dec 2014 01:11:34 -0400 shell-monad (0.0.1) unstable; urgency=medium * First release. -- Joey Hess <id@joeyh.name> Wed, 24 Dec 2014 19:23:44 -0400