Micro-optics for the process library.
'microlens-process' is a set of multi-purpose optics and convenience combinators for working with the process
library, including a more well-typed api for the parts that can be typed.
microlens-process
This package is intended to be on the lighter side, with few dependencies aside from microlens
.
Motivation
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.