h&>:H      !"#$%&'()*+,-./01 2 3 4 5 6 7 8 9 : ; < = > ? @ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z [ \ ] ^ _ ` a b c d e f g h i j k l mnopqrstuvwxyz{|}~ProcessError, Internal Safe-Inferred>!"$%&'(),./01245789:;<=>?4polysemy-processSignal error for .polysemy-processThe process terminated. Safe-Inferred>!"$%&'(),./01245789:;<=>?polysemy-processIndicate whether to kill a process after exiting the scope in which it was used, if it hasn't terminated.polysemy-process+Wait for the specified interval, then kill.polysemy-processKill immediately.polysemy-process/Wait indefinitely for the process to terminate. Safe-Inferred>!"$%&'(),./01245789:;<=>? polysemy-processControls the behaviour of  interpreters. polysemy-process6Whether to discard output chunks if the queue is full. polysemy-processMaximum number of chunks allowed to be queued for each of the three standard pipes.polysemy-processWhat to do if the process hasn't terminated when exiting the scope.     Safe-Inferred>!"$%&'(),./01245789:;<=>?polysemy-processAn incremental parse result, potentially a partial result containing a continuation function. Safe-Inferred>!"$%&'(),./01245789:;<=>? polysemy-process*Internal error used by an interpreter for .PtyResources ADT, Internal Safe-Inferred>!"$%&'(),./01245789:;<=>? polysemy-process2The resources used by the default interpreter for . "$!# "$!#SystemProcessError, Internal Safe-Inferred>!"$%&'(),./01245789:;<=>? %polysemy-processSignal error for .&polysemy-processThe process terminated.%'&%'&Process Effect, Internal Safe-Inferred>!"$%&'(),./01245789:;<=>?*polysemy-process/Abstraction of a process with input and output.6This effect is intended to be used in a scoped manner: import Polysemy.Resume import Polysemy.Conc import Polysemy.Process import qualified System.Process.Typed as System prog :: Member (Scoped resource (Process Text Text !! err)) r => Sem r Text prog = resumeAs "failed" do withProcess do send "input" recv main :: IO () main = do out <- runConc $ interpretProcessNative (System.proc "cat" []) prog putStrLn out -polysemy-processObtain a chunk of output..polysemy-processSend data to stdin./polysemy-processCreate a scoped resource for *.0polysemy-processConvert  and  to *.*,+-./0*,+-./0 ProcessInput effect, Internal. Safe-Inferred>!"$%&'(),./01245789:;<=>?1polysemy-process"This effect is used by the effect = to encode values for process input. example using a parser.2polysemy-process5Encode a value for enqueueing it to a process' stdin.2polysemy-processThe value to encode.123123 ProcessOutput effect, Internal. Safe-Inferred>!"$%&'(),./01245789:;<=>?L4polysemy-process"This effect is used by the effect $ to accumulate and decode chunks of s, for example using a parser. The interpreter may be stateful or stateless, since the constructor 5 is expected to be called with both the accumulated unprocessed output as well as the new chunk.5polysemy-processAdd a chunk of output to the accumulator, returning any number of successfully parsed values and the leftover output.6polysemy-processKind tag for selecting the 4 handler for stdout/stderr.7polysemy-processTag for stdout.8polysemy-processTag for stderr.5polysemy-process+The accumulation of the previous leftovers.polysemy-process$The new chunk read from the process.45687;68745; Pty Effect, Internal Safe-Inferred>!"$%&'(),./01245789:;<=>?<polysemy-process%A pseudo terminal, to be scoped with Y.=polysemy-processThe file descriptor that can be connected to stdio of a process.>polysemy-processSet the size of the terminal.?polysemy-processGet the size of the terminal.@polysemy-process1Vertical size of a pseudo terminal in characters.Cpolysemy-process3Horizontal size of a pseudo terminal in characters.Ypolysemy-processBracket an action with the creation and destruction of a pseudo terminal.<>?=@ABCDEVWXYCDE@AB<>?=XWVY SystemProcess Effect, Internal Safe-Inferred>!"$%&'(),./01245789:;<=>?^ Zpolysemy-processLow-level interface for a process, operating on raw chunks of bytes. Interface is modeled after System.Process.[polysemy-processRead a chunk from stdout.\polysemy-processRead a chunk from stderr.]polysemy-processWrite a  to stdin.^polysemy-processObtain the process ID._polysemy-processSend a  to the process.`polysemy-process;Wait for the process to terminate, returning its exit code.gpolysemy-processCreate a scoped resource for Z.hpolysemy-process"Send signal INT(2) to the process.ipolysemy-process#Send signal INT(15) to the process.jpolysemy-process"Send signal INT(9) to the process.Z]\[^`_abcdefghijZ]\[^`_fedcbaghij Executable helpers, Internal Safe-Inferred>!"$%&'(),./01245789:;<=>?%lpolysemy-processFind a file in $PATH2, verifying that it is executable by this process.lpolysemy-processExecutable name, for $PATH lookup and error messagespolysemy-process8Explicit override to be checked for adequate permissionsklkl#ProcessInput Interpreters, Internal Safe-Inferred>!"$%&'(),./01245789:;<=>?Wmpolysemy-process Interpret 1 by passing  through.npolysemy-process Interpret 1 by UTF-8-encoding .mnmn$ProcessOutput Interpreters, Internal Safe-Inferred>!"$%&'(),./01245789:;<=>?" ppolysemy-process Interpret 4 by discarding any output.qpolysemy-process Interpret 4 by immediately emitting raw s without accumulation.rpolysemy-processTransformer for 4 that lifts results into , creating 'ProcessOutput p (Either a b)' from 'ProcessOutput p a'.spolysemy-processTransformer for 4 that lifts results into , creating 'ProcessOutput p (Either a b)' from 'ProcessOutput p b'.upolysemy-process Interpret 4 by emitting individual  lines of output.vpolysemy-process Interpret 4 by immediately emitting  without accumulation.wpolysemy-process Interpret 4 by emitting individual  lines of output.xpolysemy-processInternal helper for y that repeatedly parses elements from a chunk until the parser returns a failure or a partial result.ypolysemy-processWhenever a chunk of output arrives, call the supplied incremental parser whose result must be converted to . If a partial parse result is produced, it is stored in the state and resumed when the next chunk is available. If parsing an a. succeeds, the parser recurses until it fails. opqrstuvwxy pqrstuvwoxyProcess Interpreters, Internal Safe-Inferred>!"$%&'(),./01245789:;<=>?- polysemy-process Interpret * with a system process resource whose file descriptors are connected to three s, deferring decoding of stdout and stderr to the interpreters of two 4 effects.polysemy-process Interpret * with a system process resource whose stdin/stdout are connected to two s, producing s. Silently discards stderr.polysemy-process Interpret * with a system process resource whose stdin/stdout are connected to two !s, producing chunks of lines of s. Silently discards stderr.polysemy-process Interpret * with a system process resource whose stdin/stdout are connected to two s, producing s. Silently discards stderr.polysemy-process Interpret * with a system process resource whose stdin/stdout are connected to two !s, producing chunks of lines of s. Silently discards stderr.polysemy-process Reinterpret  and  as *.polysemy-process*Interpret 'Input ByteString' by polling a  and stopping with  when it fails.polysemy-process*Interpret 'Input ByteString' by polling a  and stopping with < when it fails. This variant deactivates buffering for the .polysemy-process.Interpret 'Output ByteString' by writing to a  and stopping with  when it fails.polysemy-process.Interpret 'Output ByteString' by writing to a  and stopping with < when it fails. This variant deactivates buffering for the .polysemy-process Interpret * in terms of  and  . Since the i and o parameters correspond to the abstraction of stdio fds of an external system process, i is written by  and o is read from . This is useful to abstract the current process's stdio as an external process, with input and output swapped.polysemy-process Interpret * in terms of two s. This is useful to abstract the current process's stdio as an external process, with input and output swapped. The first  argument corresponds to the o parameter, the second one to i, despite the first one usually being the current process's stdin. This is due to *9 abstracting an external process to whose stdin would be written, while the current one's is read.polysemy-process Interpret * using the current process's stdin and stdout. This mirrors the usual abstraction of an external process, to whose stdin would be written, while the current one's is read.$z{|~}${|~}zPty Interpreters, Internal Safe-Inferred>!"$%&'(),./01245789:;<=>?/;polysemy-processInterpret Pty as a .$SystemProcess Interpreters, Internal Safe-Inferred>!"$%&'(),./01245789:;<=>?2polysemy-process Interpret Z with a concrete  with connected pipes.polysemy-process Interpret Z as a single global  that's started immediately.polysemy-process Interpret Z as a scoped  that's started wherever < is called and terminated when the wrapped action finishes.polysemy-process Interpret Z with a concrete  with connected pipes.polysemy-process Interpret Z as a single global  that's started immediately.polysemy-process Interpret Z as a scoped  that's started wherever < is called and terminated when the wrapped action finishes.(Process Interpreters for stdio, Internal Safe-Inferred>!"$%&'(),./01245789:;<=>?7polysemy-process Interpret * as a native $, producing unaccumulated chunks of . Silently discards stderr.polysemy-process Interpret * as a native , producing lines of . Silently discards stderr.polysemy-process Interpret * as a native $, producing unaccumulated chunks of . Silently discards stderr.polysemy-process Interpret * as a native , producing lines of . Silently discards stderr.polysemy-process+Basic config. The pipes will be changed to  by the interpreter.polysemy-process+Basic config. The pipes will be changed to  by the interpreter.polysemy-process+Basic config. The pipes will be changed to  by the interpreter.polysemy-process+Basic config. The pipes will be changed to  by the interpreter.%Polysemy Effects for System Processes Safe-Inferred>!"$%&'(),./01245789:;<=>?7> *-./14678*-./ 46781Zg!"$%&'(),./01245789:;<=>?845;quvw45;quvw Safe-Inferred>!"$%&'(),./01245789:;<=>?9 <>=?VWXY <>=?VWXY Safe-Inferred>!"$%&'(),./01245789:;<=>?:Z]\[^_`abcdefghZ]\[^_`abcdefgh !"#$%&'()**+,-./0123456789::;<==>?@AB!CDEFGHIJK L M N O P Q R S T U V   W X Y Y Z [ [ \ ] ^ _ ` a b c d e f g h i j k l m n o p  q r s t u v w x y z { |  } ~   pJu/polysemy-process-0.9.0.0-4Z3jUzSSkAQ1Ki7YnL0qsO"Polysemy.Process.Data.ProcessError!Polysemy.Process.Data.ProcessKill$Polysemy.Process.Data.ProcessOptions.Polysemy.Process.Data.ProcessOutputParseResultPolysemy.Process.Data.PtyError"Polysemy.Process.Data.PtyResources(Polysemy.Process.Data.SystemProcessErrorPolysemy.Process.Effect.Process$Polysemy.Process.Effect.ProcessInput%Polysemy.Process.Effect.ProcessOutputPolysemy.Process.Effect.Pty%Polysemy.Process.Effect.SystemProcessPolysemy.Process.Executable)Polysemy.Process.Interpreter.ProcessInput*Polysemy.Process.Interpreter.ProcessOutput$Polysemy.Process.Interpreter.Process Polysemy.Process.Interpreter.Pty*Polysemy.Process.Interpreter.SystemProcess)Polysemy.Process.Interpreter.ProcessStdioPolysemy.ProcessProcessPty SystemProcess System.PosixSystemwithSystemProcess System.IOHandlePolysemy.Process.ProcessOutputPolysemy.Process.PtyPolysemy.Process.SystemProcess ProcessError Terminated$fEqProcessError$fShowProcessError ProcessKill KillAfterKillImmediately KillNever$fEqProcessKill$fShowProcessKillProcessOptions$sel:discard:ProcessOptions$sel:qsize:ProcessOptions$sel:kill:ProcessOptions$fDefaultProcessOptions$fEqProcessOptions$fShowProcessOptionsProcessOutputParseResultDonePartialFail$sel:value:Done$sel:leftover:Done$sel:continue:Done$sel:error:Done$fShowProcessOutputParseResultPtyError $fEqPtyError$fShowPtyError PtyResources$sel:primary:PtyResources$sel:secondary:PtyResources$sel:handle:PtyResources$sel:pty:PtyResourcesSystemProcessErrorNoPipes$fEqSystemProcessError$fShowSystemProcessErrorRecvSendrecvsend withProcess runProcessIO ProcessInputEncodeencode ProcessOutputChunk OutputPipeStdoutStderr$fEqOutputPipe$fShowOutputPipechunkResizeSizeCols$sel:unCols:ColsRows$sel:unRows:Rows$fEqCols $fShowCols $fGenericCols $fNumCols $fRealCols $fEnumCols$fIntegralCols $fOrdCols$fEqRows $fShowRows $fGenericRows $fNumRows $fRealRows $fEnumRows$fIntegralRows $fOrdRowshandleresizesizewithPty ReadStdout ReadStderr WriteStdinPidSignalWait readStdout readStderr writeStdinpidsignalwait interrupttermkillcheckExecutableresolveExecutableinterpretProcessInputIdinterpretProcessInputTextParserinterpretProcessOutputIgnoreinterpretProcessOutputIdinterpretProcessOutputLeftinterpretProcessOutputRight splitLinesinterpretProcessOutputLinesinterpretProcessOutputTextinterpretProcessOutputTextLines parseMany!interpretProcessOutputIncremental ScopeEffects ProcessQueues$sel:pqIn:ProcessQueues$sel:pqOut:ProcessQueuesErr$sel:unErr:ErrOut$sel:unOut:OutIn $sel:unIn:IninterpretQueueshandleProcessWithQueueswithSTMResources withQueues outputQueue inputQueue handleKillwithKillscopeinterpretProcessinterpretProcessByteStringinterpretProcessByteStringLinesinterpretProcessTextinterpretProcessTextLinesinterpretInputOutputProcessinterpretInputHandleBufferedinterpretInputHandleinterpretOutputHandleBufferedinterpretOutputHandleinterpretProcessIOinterpretProcessHandlesinterpretProcessCurrent$fEqErr $fShowErr$fEqOut $fShowOut$fEqIn$fShowIntryStop acquirePty releasePty interpretPty PipesProcessprocessWithPipesstart startOpaquewithProcessOpaque terminate processIdcheckEof!interpretSystemProcessWithProcess"interpretSystemProcessNativeSingleinterpretSystemProcessNative'interpretSystemProcessWithProcessOpaque(interpretSystemProcessNativeOpaqueSingle"interpretSystemProcessNativeOpaque interpretProcessByteStringNative%interpretProcessByteStringLinesNativeinterpretProcessTextNativeinterpretProcessTextLinesNative'polysemy-1.6.0.0-3rMbHt6dPTH5QlLskD4spwPolysemy.OutputOutputPolysemy.InputInputbytestring-0.10.12.1Data.ByteString.Internal ByteString unix-2.7.2.2System.Posix.Signals text-1.2.5.0Data.Text.InternalTextbase Data.EitherLeftRight(stm-chans-3.0.0.6-IkvKahCCN2PGmUmoXdymwYControl.Concurrent.STM.TBMQueueTBMQueueGHC.IO.Handle.Types