This package is intended to be minimalistic, with few dependencies aside from
lens. For full disclosure, this is the minimal dependency graph of
lens-process provides optics for the process package. These optics provide convenient lenses, traversals, and prisms, as well as classy variants for significant classifiable portions of the library for convenience. In addition, we provide some combinators for working with
CreateProcess types. The intention of this package is to create a well-typed optical layer for
process, reflecting the shape of certain types of commands at the type level.
Revision history for lens-process
- Migration to Gitlab CI
- Support for 8.10
- Migrate to using
cabal-doscpecinstead of docspec custom setup
- Enum prisms are now
Prism a ()instead of
Prism a afor
- Prisms prefixed with
Isare now prefixed with
Asin alignment with lens convention.
defaultCreateProcessis now located in
- Support for 8.8.1
Final design - this will not change unless
System.Process significantly changes.
System.Process.Lens.CommandSpecis renamed to
System.Process.Lens.CmdSpecto be more flush with the data names
- documentation improvements all around
- Type signatures of combinators
nostreaminghave had their unnecessary constraints dropped
microlens-processis now in lockstep featurewise
The module formerly known as
Internal.hs is now called
CreateProcess optics have changed to avoid name clashes with
System.IO (stdin, stderr, stdout),
instead opting for the post-fixed underscore.
Added doctest suite.
Decided agains the internal module, narrowing scope
Expanded the zoo, better docs
Added ‘Internal’ module providing convenient handlers for the output of a
Added some spurious deps for future work on
Widened bounds, fixed up some documentation, added few combinators
- First version. Released on an unsuspecting world.