Micro-optics for the process library
|Version on this page:||0.2.0.1@rev:3|
|LTS Haskell 20.23:||0.2.0.2@rev:2|
|Stackage Nightly 2022-11-17:||0.2.0.2@rev:2|
|Latest on Hackage:||0.2.0.2@rev:2|
Module documentation for 0.2.0.1
This package is intended to be on the lighter side, with few dependencies aside from
microlens-process provides optics for the process package. These optics provide convenient lenses, 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. For instance, consider the following:
For a fuller and more well-typed layer, see lens-process
Revision history for microlens-process
Final design - this will not change unless
System.Process significantly changes.
System.Process.Microlens.CommandSpecis renamed to
System.Process.Microlens.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
- Traversals + Lenses have been added where in
lens-processthey would have been Prisms and Isos respectively. While it is slightly too powerful a constraint, the functionality is sound.
GHC versions < 710 fail because applicative is not in base. Explicit import added where needed
Fix the cabal version
Expose a new module called
traversals into the arguments of a raw command.
Widen bounds, improve docs
- Correct and widen version bounds
- First version. Released on an unsuspecting world.