Optics for system processes.
'lens-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.
lens-process
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
:
Motivation
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.