h$<7      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~An unrolled stack of Reader, Writer, Error, State, and Prompt transformers.2018, Automattic, Inc.BSD3%Nathan Bloomfield (nbloomf@gmail.com) experimentalPOSIX Safe-Inferred '(  script-monadOpaque stack of error (e ), reader (r ), writer (w ), state (s), and prompt (p) monad transformers. script-monadOpaque stack of error (e ), reader (r ), writer (w ), state (s), and prompt (p?) monad transformers, accepting a monad transformer parameter (t:). Behaves something like a monad transformer transformer. script-monad(Lift a value from the inner transformer. script-monad Execute a  with a specified inital state and environment and with a specified prompt evaluator into the effect monad eff. script-monadTurn a ! with a monadic evaluator into a %; for testing with QuickCheck. Wraps . script-monadRetrieve the environment. script-monadRun an action with a locally adjusted environment of the same type. script-monadRun an action with a locally adjusted environment of a possibly different type. script-monad=Retrieve the image of the environment under a given function.  script-monadRetrieve the current state.  script-monadReplace the state.  script-monad Modify the current state lazily.  script-monad"Modify the current state strictly.  script-monad?Retrieve the image of the current state under a given function. script-monadWrite to the log. script-monadRun an action and attach the log to the result, setting the log to . script-monad/Run an action and attach the log to the result. script-monadRun an action that returns a value and a log-adjusting function, and apply the function to the local log. script-monad4Run an action, applying a function to the local log. script-monad Inject an  into a Script. script-monad0Run an action, applying a function to any error. script-monadRaise an error. script-monad=Run an action, applying a handler in case of an error result. script-monadInject an atomic effect. script-monad Initial state script-monad Environment script-monadMonadic effect evaluator script-monad Initial state script-monad Environment script-monadMoandic effect evaluator script-monad Condense to  script-monad Result check  &Some stuff not included in Data.Aeson.2018, Automattic, Inc.BSD3%Nathan Bloomfield (nbloomf@gmail.com) experimentalPOSIXNoneM script-monadRepresents the kinds of errors that can occur when parsing and decoding JSON.  script-monad*A generic JSON error; try not to use this.! script-monadA failed parse." script-monadAn attempt to look up the value of a key that does not exist on an object.# script-monadAn attempt to look up the value of a key on something other than an object.$ script-monadA failed attempt to convert a  to some other type. !"#$#Syslog-style log message severities2018, Automattic, Inc.BSD3%Nathan Bloomfield (nbloomf@gmail.com) experimentalPOSIX Safe-Inferred  % script-monad $https://en.wikipedia.org/wiki/SyslogSyslog style log severities.& script-monadDebug-level messages' script-monadInformational messages( script-monad Normal but significant condition) script-monadWarning conditions* script-monadError conditions+ script-monadCritical conditions, script-monad Action must be taken immediately- script-monadSystem is unusable script-monad"Pretty prints a simple log header. script-monad3Printed before the severity label; i.e. a timestamp %&'()*+,-A mock IO monad for testing.2018, Automattic, Inc.BSD3%Nathan Bloomfield (nbloomf@gmail.com) experimentalPOSIX Safe-Inferred  . script-monad!A mapping from "handles" of type a to lists of lines.0 script-monadAbstraction of a text file consisting of a "handle" and a list of lines.2 script-monad File "handle"3 script-monad List of lines4 script-monadNo files; populate with 8 or 9.5 script-monad3Detect whether a file with the given handle exists.6 script-monadDetect whether a file with the given handle exists and has given contents.7 script-monadRetrieve the contents of a file, or nothing if the file does not exist.8 script-monad!Overwrite the contents of a file.9 script-monadAppend to a file.: script-monad5Delete a file; if no such file exists, has no effect.; script-monadRead the first line of a file.5 script-monad File handle6 script-monadHandle script-monadContents7 script-monadHandle8 script-monadHandle script-monadContents9 script-monadHandle script-monadContents: script-monadHandle; script-monadHandle not found error script-monad EOF error script-monadHandle./0123456789:;./0123456:789;.Some stuff not included in Network.HTTP.Client2018, Automattic, Inc.BSD3%Nathan Bloomfield (nbloomf@gmail.com) experimentalPOSIXNone#$ A script-monadNon-opaque HTTP response type.H script-monadTo make type signatures nicer script-monad0Convert an opaque `Response ByteString` into an A. script-monadConvert response headers to a JSON value; specifically a list of objects, one for each header.I script-monadStatus 200; no headersJ script-monadStatus 400; no headersK script-monadStatus 404; no headersL script-monadStatus 405; no headersM script-monadStatus 408; no headersN script-monadStatus 500; no headersABCDEFGHIJKLMNA mock IO monad for testing.2018, Automattic, Inc.BSD3%Nathan Bloomfield (nbloomf@gmail.com) experimentalPOSIXNone  #$'(O script-monad-State monad representing network interaction.R script-monad7Type representing the internal state of an HTTP server.U script-monadJust enough state to mock out a basic filesystem and HTTP server.] script-monadA state monad over U.` script-monadRetrieve the current U.a script-monadReplace the current U.b script-monadMutate the current U strictly.c script-monad1Bump the timer by a given number of microseconds.d script-monad1970-01-01 00:00:00e script-monad+Empty filesystem and trivial HTTP responsesf script-monad Throw an .g script-monad4Retrieve the internal state of the fake HTTP server.h script-monad3Replace the internal state of the fake HTTP server.i script-monad=Mutate the internal state of the fake HTTP server (strictly).!IJKLMNOPQRSTUVXWYZ[\]^_`abcdefghi!]^_`abcUVXWYZ[\RSTdeOPQfghiIJKLMN1A generic monad for expressing HTTP interactions.2018, Automattic, Inc.BSD3%Nathan Bloomfield (nbloomf@gmail.com) experimentalPOSIXNone  #$'(6z script-monadAtomic effects script-monad State type script-monadLog type script-monadOptions for tweaking the logs. script-monad Toggle color script-monadToggle JSON pretty printing script-monadToggle to silence the logs script-monad'Suppress log output below this severity script-monad Toggle for printing HTTP headers script-monadPrinter for client-supplied error type. The boolean toggles JSON pretty printing. script-monadPrinter for client-supplied log type. the boolean toggles JSON pretty printing. script-monadGeneric session environment. script-monadPrinter for log entries. script-monadHandle for printing logs script-monad=Lock used to prevent race conditions when writing to the log. script-monadIdentifier string for the session; used to help match log entries emitted by the same session. script-monadFunction for elevating "s to a client-supplied error type. script-monad!Client-supplied environment type. script-monad Error type. script-monadClient-supplied error type. script-monadAn HTTP session returning an a, writing to a log of type W e w&, reading from an environment of type R e w r, with state of type S s, throwing errors of type E e1, performing effectful computations described by P p a, with inner monad eff.  over . script-monadAn HTTP session returning an a, writing to a log of type W e w&, reading from an environment of type R e w r, with state of type S s, throwing errors of type E e1, performing effectful computations described by P p a, and with inner monad t eff. script-monad(Lift a value from the inner transformer. script-monad Execute an  session. script-monadTurn an . into a property; for testing with QuickCheck. script-monadRetrieve the environment. script-monadRun an action with a locally adjusted environment of the same type. script-monad=Retrieve the image of the environment under a given function. script-monad"Modify the current state strictly. script-monad?Retrieve the image of the current state under a given function. script-monadInject an atomic effect. script-monadPretty printer for errors script-monadAlso logs the exception. script-monadRe-throws other error types. script-monadAlso logs the exception. script-monadRe-throws other error types. script-monadAlso logs the exception. script-monadRe-throws other error types. script-monadAlso logs the exception. script-monadRe-throws other error types. script-monadHandle any thrown error. To handle only errors of a specific type, see  catchError, catchJsonError, catchIOException, or catchHttpException. script-monadEnvironment constructor script-monadEnvironment constructor script-monad;Noisy, in color, without parsing JSON responses, and using 1 instances for user-supplied error and log types. script-monadNoisy, in color, without parsing JSON responses, and using trivial printers for user-supplied error and log types. For testing. script-monad"Simple default pretty printer for LogEntrys. script-monad%All log statements should go through logNow. script-monad%Extract the user-defined log entries. script-monadState constructor script-monad(Basic evaluator for interpreting atomic Http effects in . script-monad(Basic evaluator for interpreting atomic Http effects in ]. script-monadWrite a comment to the log script-monadPause the thread script-monadFor debug level messages script-monadFor informational messages script-monad%For normal but significant conditions script-monadFor warning conditions script-monadFor error conditions script-monadFor critical conditions script-monad Action must be taken immediately script-monadSystem is unusable script-monad7Set the severity level of all log actions in a session. script-monadWrite a line to a handle script-monad*Write a line to a handle, using the given  as a lock script-monadRun a GET request script-monadRun a GET? request, but do not write the request or response to the logs. script-monadRun a POST request script-monadRun a POST? request, but do not write the request or response to the logs. script-monadRun a DELETE request script-monadRun a DELETE? request, but do not write the request or response to the logs. script-monadParse a  to a JSON . script-monadObject member lookup. script-monad Decode a   to some other type.  script-monad Initial state script-monad Environment script-monadEffect evaluator script-monad Initial state script-monad Environment script-monadEffect evaluator script-monad Condense to  script-monad Result check script-monadHandler script-monadHandler script-monadHandler script-monadHandler script-monad"Client-supplied environment value. script-monad"Client-supplied environment value. script-monadEvaluator for user effects script-monad milliseconds script-monadPayload script-monadPayload script-monadKey name script-monad JSON object !"#$%&'()*+,-ABCDEFGHz{|}~%&'()*+,-z{|}~H !"#$ABCDEFG     !"#$%&'())*+,-./012345677889:;<=>?@ABCDEFGHHIJKLMNOPQRSTUUVWWXYYZ[\]^_``abcdefghijklmnopqrstuvwxyz{|}~|! )script-monad-0.0.4-HfEtParO9CtA95qg6rCUvaControl.Monad.ScriptControl.Monad.Script.HttpData.MockIO.FileSystem Data.MockIOData.Aeson.ExtrasData.LogSeverityNetwork.HTTP.Client.ExtrasAValueScriptTScriptTT liftScriptTT execScriptTT checkScriptTTasklocal transportreadergetputmodifymodify'getstelldraftlistenpasscensorexcepttriagethrowcatchprompt$fShowScriptTT$fArbitraryScriptTT$fMonadTransScriptTT$fFunctorScriptTT$fApplicativeScriptTT$fMonadFailScriptTT$fMonadScriptTT JsonErrorJsonParseErrorJsonKeyDoesNotExistJsonKeyLookupOffObjectJsonConstructError LogSeverityLogDebugLogInfo LogNotice LogWarningLogError LogCriticalLogAlert LogEmergency FileSystemFile _fileHandle _fileContentsemptyFileSystem fileExistshasFilegetLines writeLines appendLines deleteFilereadLine $fShowFile$fArbitraryFileSystem$fShowFileSystem$fEqFileSystem$fEqFile HttpResponse_responseStatus_responseVersion_responseHeaders _responseBody_responseCookieJarUrl_200ok_400badRequest _404notFound_405methodNotAllowed_408requestTimeout_500internalServerError MockNetwork unMockNetwork MockServer unMockServer MockWorld_files_time_httpGet _httpPost _httpDelete _serverStateMockIO runMockIO getMockWorld putMockWorldmodifyMockWorldincrementTimerepochbasicMockWorlderrorMockNetwork getMockServer putMockServermodifyMockServer$fArbitraryMockNetwork$fShowMockNetwork$fFunctorMockNetwork$fApplicativeMockNetwork$fMonadMockNetwork$fCoArbitraryMockWorld$fArbitraryMockWorld$fShowMockWorld $fEqMockWorld$fArbitraryMockIO $fShowMockIO$fFunctorMockIO$fApplicativeMockIO $fMonadMockIO$fEqMockServer$fShowMockServerP HPutStrLnHPutStrLnBlocking GetSystemTime ThreadDelayHttpGetHttpPost HttpDeleteS _httpOptions _httpSession _userStateW LogOptions _logColor_logJson _logSilent_logMinSeverity _logHeaders_printUserError _printUserLogR _logOptions_logEntryPrinter _logHandle_logLock_uid_httpErrorInject_envEE_HttpE_IOE_JsonHttpTHttpTT liftHttpTT execHttpTT checkHttpTT printErrorthrowHttpExceptioncatchHttpExceptionthrowIOExceptioncatchIOExceptionthrowJsonErrorcatchJsonError throwError catchError catchAnyErrorbasicEnv trivialEnvbasicLogOptionstrivialLogOptionsbasicLogEntryPrinter printHttpLogs logEntries basicStateevalIO evalMockIOcommentwaitlogDebuglogInfo logNotice logWarninglogError logCriticallogAlert logEmergencysetLogSeverity hPutStrLnhPutStrLnBlockinghttpGet httpSilentGethttpPosthttpSilentPost httpDeletehttpSilentDelete parseJson lookupKeyJsonconstructFromJson $fMonoidW $fSemigroupW$fMonadTransHttpTT$fMonadFailHttpTT $fMonadHttpTT$fApplicativeHttpTT$fFunctorHttpTT$fShowS$fShowW$fShowLogEntry $fShowLog $fEqHttpVerb$fShowHttpVerb$fShowE(QuickCheck-2.14.2-6xAinBYgndE7qB1JvE1ApfTest.QuickCheck.PropertyPropertybaseGHC.Basemempty Data.EitherEitherghc-prim GHC.TypesIO$aeson-2.1.0.0-4gipanYP8Is5mRGvfAg5AQData.Aeson.Types.InternalcolorBySeverityreadHttpResponsejsonResponseHeaders)http-client-0.7.11-BoXnlX0E6fyDKKcxmVY33DNetwork.HTTP.Client.Types HttpExceptiontransformers-0.5.6.2Control.Monad.Trans.Identity IdentityTGHC.ShowShowGHC.MVarMVarbytestring-0.10.10.0Data.ByteString.Lazy.Internal ByteString