!!T       !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~       !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuv w x yz{|}~                                                                              ! " # $ % & ' ( ) * + , - . / 0 1 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 m n o p q r s t u vwxyz{|}~      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~           !  !!   ""      ""      "  "  "  "  """"""""          " " " "                                             !" !!!"""! !!!""#"$"% & ' ( ) * + , - . / 0 1 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 m n op#q#r#s#t$u#v$w$x#y#z${$|$}%~%$$$$$$%%$$$$$$%$%$%$%$%%%%%%%%$$$$$$$$$$%$%$%$%$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$#%$##%%##%%$$$$$$$$$$$$$$$$$$$$$$$$$#####$$$%%$###% % % # # #%%$%$$$$$&'&&''&&& (!("&#&$&%&&&'&(&)&*(+(,&-&.&/&0&1&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&m&n&o&p&q&r&s&t&u&v&w&x&y&z&{&|&}&~&&&&&&&&&&&&&&&&&&&&'(&'''((('''(((&&&&&&&&&&&&&&&&&&&&&&&&&'''''&&&((&'''((('''((&(&&&)))))))))))))))))*))*)*))))++))))))))++))))))))))+) ) + ) ) +))+))++++++++))))) )!)")#)$)%+&)'+())+*)++,)-).)/)0)1)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*m*n*o+p+q+r)s)t)u)v)w)x)y)z){)|)})~))))))))))))))*****)))++)***+++***++)+))*******)               , , , , , , , , , , , , , , , , , ,  ! " # $ % & ' ( ) * + , - . / 0 1 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 m n o p q r s t u v w x y z { | } ~  . . . . .      #; Safe}         Safe~? UV[\]^ijlm mjli^]\[VUSafe~<=$%&'()*+,-./01234567V;<UTSRQPONMLKJIHGFEDCBA@?>=:98{<=*2'(,+)10/.-6534V;<UTSRQPONMLKJIHGFEDCBA@?>=:987%&${Safeyzzy/Safe1: SaferioLifted version of  55Safe'yz{|}~'~}|{zySafeSafe=efghijklmnopqrstuvwxxwvsrqponmlkjihgfeutSafe rio1Remove the suffix from the given list, if presentrio7Drop prefix if present, otherwise return original list.rio7Drop prefix if present, otherwise return original list.rio breaks a  up into a list of s at newline =s. It is very similar to $, but it also removes any trailing '\r' =s. The resulting - values do not contain newlines or trailing '\r' characters.riorioriorioriorioriorioriosuffixrioprefixriosuffixtyz{}~t{zy~}SafeSafejmmSafe  Safe wxyz{|}~ ~|zx}{yw Safexwvvwx0NoneMrio4A typeclass for values which can be converted to a V. The intention of this typeclass is to provide a human-friendly display of the data.rioDisplay data as , which will also be used for  if it is not overriden.riogA builder of binary data, with the invariant that the underlying data is supposed to be UTF-8 encoded.rioUse the 2* instance for a value to convert it to a .rio Convert a  into a .NOTE This function performs no checks to ensure that the data is, in fact, UTF8 encoded. If you provide non-UTF8 data, later functions may fail.rio Convert a  value into a strict .rio Convert a  value into a lazy .rioWrite the given  value to a file. rio rio rio rio rio rio rio rio rio rio rio rio rio rio rio rio rio rio rio rio 1Saferio,Lifted version of "System.Exit.exitFailure".@since 0.1.9.0.rio,Lifted version of "System.Exit.exitSuccess".@since 0.1.9.0.rio)Lifted version of "System.Exit.exitWith".@since 0.1.9.0.2Safee rioApply a function to a V constructorrioGet a   value with a default fallbackrio Applicative .rio     rioMonadic .rio     rioExtend  to allow side effects.Internally, this is implemented using a strict left fold. This is used for performance reasons. It also necessitates that this function has a Monad constraint and not just an  Applicative) constraint. For more information, see  Ghttps://github.com/commercialhaskell/rio/pull/99#issuecomment-394179757.rioStrip out duplicatesrio0Run the second value if the first value returns Urio0Run the second value if the first value returns Rrio-Helper function to force an action to run in JC. Especially useful for overly general contexts, like hspec tests. ^3None 4None,? 5SafeNonew#$%&'()*lkjihgfedcba`_+,-./0123456789:;<RU=>?@ABCDEFGSTHXYZIJKLMNOPVW[^Axow<RU=HXYZ@ABCDKLMNOEFI?>GSTPVW^J[%-#$2.5,'&/(10+7:;68)43*lkjihgfedcba`_9oAxNonestu       lmfghijk    nopqr|" !~]mnopqrstuvwx|}!"#WXYZ[\]^_`abcdevX  uts c kjihgfeda`mbl      rqpon #"!_]\^! "uxptswvnrq}|~omY[Z|]vW6None #ts$u% &     ' ml(kjihgf)*lkjihgfedcba`_+,  - ./0 1rqpon2|3456! "78~9:;<RU=>?@ABCDEFGSTHXYZIJKLMNOPVW [\   ]^    mnopqrstuvwx|}                    !"#WXYZ[\]^_`abcde ! " #vA $ % & ' ( ) * + , - . / 0 1 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 m n o p q r s t` uabc v w x y z { | } ~ d                           ! " # $ % &xo7None$'rio"Configuration for how to create a  . Intended to be used with the  function.rioCA logging function, wrapped in a newtype for better error messages.~An implementation may choose any behavior of this value it wishes, including printing to standard output or no action at all.rio+Environment values with a logging function.rioRWhere in the application a log message came from. Used for display purposes only.rioThe log level of a message.rio Create a  from the given function.rio=Generic, basic function for creating other logging functions.rio)Log a debug level message with no source.rio)Log an info level message with no source.rio(Log a warn level message with no source.rio*Log an error level message with no source.rio=Log a message with the specified textual level and no source.rio0Log a debug level message with the given source.rio0Log an info level message with the given source.rio/Log a warn level message with the given source.rio1Log an error level message with the given source.rioELog a message with the specified textual level and the given source.rioRWrite a "sticky" line to the terminal. Any subsequent lines will overwrite this one, and that same line will be repeated below again. In other words, the line sticks at the bottom of the output forever. Running this function again will replace the sticky line with a new sticky line. When you want to get rid of the sticky line, run .Note that not all J implementations will support sticky messages as described. However, the . implementation provided by this module does.rioyThis will print out the given message with a newline and disable any further stickiness of the line until a new call to  happens.rio Create a w value which will store its data in memory. This is primarily intended for testing purposes. This will return both a  value and an   containing the resulting  value.This will default to non-verbose settings and assume there is a terminal attached. These assumptions can be overridden using the appropriate set functions.rio Create a  value from the given  k and whether to perform verbose logging or not. Individiual settings can be overridden using appropriate set functions.When Verbose Flag is True, the following happens:setLogVerboseFormat is called with TruesetLogUseColor is called with True (except on Windows) setLogUseLoc is called with True setLogUseTime is called with TruesetLogMinLevel is called with Debug log level 'rio9Taken from GHC: determine if we should use Unicode syntaxrioGiven a  value, returns both a new % and a sub-routine that disposes it.:Intended for use if you want to deal with the teardown of ! yourself, otherwise prefer the  function instead.rioGiven a 3 value, run the given function with the specified '. A common way to use this function is: llet isVerbose = False -- get from the command line instead logOptions' <- logOptionsHandle stderr isVerbose let logOptions = setLogUseTime True logOptions' withLogFunc logOptions $ \lf -> do let app = App -- application specific environment { appLogFunc = lf , appOtherStuff = ... } runRIO app $ do logInfo "Starting app" myApp (rio7Replace Unicode characters with non-Unicode equivalentsrioJSet the minimum log level. Messages below this level will not be printed.Default: in verbose mode,  . Otherwise, .rio Refer to Q. This modifier allows to alter the verbose format value dynamically at runtime.Default: in verbose mode,  . Otherwise, .rio1Use the verbose format for printing log messages./Default: follows the value of the verbose flag. rio Refer to S. This modifier allows to alter the verbose format value dynamically at runtime./Default: follows the value of the verbose flag. rio%Do we treat output as a terminal. If True0, we will enabled sticky logging functionality.Default: checks if the Handle provided to  is a terminal with  . rio,Include the time when printing log messages. Default: U in debug mode, R otherwise. rio'Use ANSI color codes in the log output. Default: U if in verbose mode and the   is a terminal device. rio$Use code location in the log output. Default: U if in verbose mode, R otherwise. rio Convert a Q value into a ' indicating the first source location.4TODO Consider showing the entire call stack instead. )rioThe length of a timestamp in the format "YYYY-MM-DD hh:mm:ss.". This definition is top-level in order to avoid multiple reevaluation at runtime. rio/Is the log func configured to use color output?]Intended for use by code which wants to optionally add additional color to its log messages. rio3Disable logging capabilities in a given sub-routinegIntended to skip logging in general purpose implementations, where secrets might be logged accidently. *rio peforms no logging. +rio+Perform both sets of actions per log entry.riolevelriolevelrio Verbose Flag)Q       8None, rio*Lazily get the contents of a file. Unlike  ,W, this ensures that if an exception is thrown, the file handle is closed immediately. rioWrite a file in UTF8 encoding8This function will use OS-specific line ending handling. rioSame as  -, but generalized to   rioSame as  ., but generalized to   rioSRead a file in UTF8 encoding, throwing an exception on invalid character encoding.8This function will use OS-specific line ending handling.  ,NoneL  rioA   specialized to boxed vectors.  rioA  ! specialized to storable vectors.  rioA   specialized to unboxed vectors.  rioIA double-ended queue supporting any underlying vector type and any monad.FThis implements a circular double-ended queue with exponential growth.  rioSHelper function to assist with type inference, forcing usage of an unboxed vector.  rioSHelper function to assist with type inference, forcing usage of a storable vector.  rioPHelper function to assist with type inference, forcing usage of a boxed vector.  rioCreate a new, empty    rioO(1)7 - Get the number of elements that is currently in the    rio.Pop the first value from the beginning of the    rio(Pop the first value from the end of the    rio)Push a new value to the beginning of the    rio#Push a new value to the end of the    rio Fold over a  1, starting at the beginning. Does not modify the  .  rio Fold over a  +, starting at the end. Does not modify the  .  rio Convert a  " into a list. Does not modify the  .  rioqConvert to an immutable vector of any type. If resulting pure vector corresponds to the mutable one used by the  #, it will be more efficient to use   instead.Example:set -XTypeApplications(import qualified RIO.Vector.Unboxed as U)import qualified RIO.Vector.Storable as Sd <- newDeque @U.MVector @Int mapM_ (pushFrontDeque d) [0..10]dequeToVector @S.Vector d[10,9,8,7,6,5,4,3,2,1,0]  rioNYield an immutable copy of the underlying mutable vector. The difference from  ? is that the the copy will be performed with a more efficient memcpy, rather than element by element. The downside is that the resulting vector type must be the one that corresponds to the mutable one that is used in the  .Example:set -XTypeApplications(import qualified RIO.Vector.Unboxed as Ud <- newDeque @U.MVector @Int mapM_ (pushFrontDeque d) [0..10]freezeDeque @U.Vector d[10,9,8,7,6,5,4,3,2,1,0]                                    9None[ rio!Helpful type synonym for using a  ! from an J -based stack. !rio)An unboxed reference. This works like an  , but the data is stored in a bytearray instead of a heap object, avoiding significant allocation overhead in some cases. For a concrete example, see this Stack Overflow question:  dhttps://stackoverflow.com/questions/27261813/why-is-my-little-stref-int-require-allocating-gigabytes.PThe first parameter is the state token type, the same as would be used for the [ monad. If you're using an J+-based monad, you can use the convenience   type synonym instead. "rio Create a new  ! #rioRead the value in a  ! $rioWrite a value into a  !J. Note that this action is strict, and will force evalution of the value. %rioModify a value in a  !R. Note that this action is strict, and will force evaluation of the result value. ! " # $ %:None =?@ACHMVl &rio7Environment values with writing capabilities to SomeRef (rio8Environment values with stateful capabilities to SomeRef *rioBAbstraction over how to read from and write to a mutable reference +rio.The Reader+IO monad. This is different from a  because:NIt's not a transformer, it hardcodes IO for simpler usage and error messages.Instances of typeclasses like  MonadLoggerb are implemented using classes defined on the environment, instead of using an underlying monad. .rioJUsing the environment run in IO the action that requires that environment. /rio Abstract  + to an arbitrary  instance, which can handle IO. 0rioRead from a SomeRef 1rioWrite to a SomeRef 2rioYModify a SomeRef This function is subject to change due to the lack of atomic operations 3riocreate a new boxed SomeRef 4riocreate a new unboxed SomeRef /rio5Identity state reference where the SomeRef is the env 0rio5Identity write reference where the SomeRef is the env & ' ( ) * + , - . / 0 1 2 3 4None2>SX" 5rio&A convenience environment combining a  and a  > 7rioGet the  > from the environment. 9rio5Exception type which may be generated in this module.NOTE8 Other exceptions may be thrown by underlying libraries! >rio"Context in which to run processes. 1rioEnvironment variables as map 2rio)Environment variables as association list 3rio.List of directories searched for executables (PATH) 4rio,Cache of already looked up executable paths. 5rio[""] on non-Windows systems, ["", ".exe", ".bat"] on Windows 6rioOverride the working directory. ?rioThe environment variable map @rio1Override the working directory processes run in. Nothing0 means the current process's working directory. Ario3Get the environment variables. We cannot provide a Lens= here, since updating the environment variables requires an IO action to allocate a new IORef' for holding the executable path cache. BrioGet the  ? as an associated list of s.,Useful for interacting with other libraries. Crio:Get the list of directories searched for executables (the PATH). Similar to  envVarMapL, this cannot be a full Lens. Drio Create a new  >) from the given environment variable map. ErioReset the executable cache. Frio Load up an  EnvOverride from the standard environment. Grio&Modify the environment variables of a  >.NThis will keep other settings unchanged, in particular the working directory.Note that this requires  , as it will create a new   for the cache. HrioUse modifyEnvVarMap to create a new  >*, and then use it in the provided action. Irio8Set the working directory to be used by child processes. 7riocPerform pre-call-process tasks. Ensure the working directory exists and find the executable path. Throws a  9 if unsuccessful.NOT CURRENTLY EXPORTED 8rio=Log running a process with its arguments, for debugging (-v).GThis logs one message before running the process and one message after.NOT CURRENTLY EXPORTED Jrio Provide a R based on the  > in scope. Deals with resolving the full path, setting the child process's environment variables, setting the working directory, and wrapping the call with  8 for debugging output.(This is intended to be analogous to the proc function provided by the System.Process.TypedH module, but has a different type signature to (1) allow it to perform IOW actions for looking up paths, and (2) allow logging and timing of the running action. KrioSame as  9, but generalized to  Q. LrioSame as  :, but generalized to  Q. MrioRun an action using a  5' with default settings and no logging. Nrio4Execute a process within the configured environment.*Execution will not return, because either:t1) On non-windows, execution is taken over by execv of the sub-process. This allows signals to be propagated (#527)2) On windows, an ExitCode exception will be thrown. OrioLike  N, but does not use execvU on non-windows. This way, there is a sub-process, which is helpful in some cases ( 6https://github.com/commercialhaskell/stack/issues/1306).%This function only exits by throwing ExitCode. Prio7Check if the given executable exists on the given PATH. Qrio*Find the complete path for the executable. RrioAAugment the PATH environment variable with the given extra paths. SrioApply  R on the PATH value in the given  ?. TriorShow a process arg including speechmarks when necessary. Just for debugging purposes, not functionally important. 7rio Command name 8rio working dirjrio executablerio arguments Jriocommand to runriocommand line arguments PrioName of executable QrioName of executablerio'Full path to that executable on successU+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRUTSVW]\[ZYX_^ 5 6 7 8 9 : ; < = > ? @ A B C D E F G H I J K L M N O P Q R S TU > 7 8 ? D F G H I @ A B C E J K L N O 5 6 M 9 : ; < = P Q R S TRVUTSWQPONMLKJIHGFEDCBA@?>=<;65:98743210/.-,]\[ZYX_^+-None Zrio0A simple, non-customizable environment type for RIOf, which provides common functionality. If it's insufficient for your needs, define your own, custom App data type. [rioRun with a default configured  SimpleApp, consisting of:Logging to stderrIf the  RIO_VERBOSE9 environment variable is set, turns on verbose loggingDefault process context Z [ Z [SafeR      !"#$%&'()*+,-./0123456789:;<=A>@?DCBGFEUA>@?>@?<;654:9871320/DCB.GFE-,+*)    '&($#%"!  =Safe3HIJKLMPQRSTUXZ[`abcdefghjklmnopqrtvwxyz{|}~3~}wx|{zyopnmlRQPk[ZKXUTSjhfgevtrqLMdc`baJIHSafeNOVWYsuYWVusONSafe6\]^_ii_^]\SafeSafeF ^rio2Drop prefix if present, otherwise return original . _rio2Drop prefix if present, otherwise return original . `rio ` breaks a  up into a list of s at newline =s. It is very similar to n$, but it also removes any trailing '\r' characters. The resulting - values do not contain newlines or trailing '\r' characters. ^rioprefix _riosuffixWefghijklmnopqstxyz{|~ ^ _ `W~|{n `omlkjihf ^ _gxzytsqpe;None  ario brio crio drio erio frio grio hrio irio jrio krio lrio mrio nrio orio prio qrio rrio srio trio urio vrio wrio xrio yrio zrio {rio 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 {Noneǰ/ #ts$u% &     ' ml(kjihgf)*lkjihgfedcba`_+,  - ./0 1rqpon2|3456! "78~9:;<RU=>?@ABCDEFGSTHXYZIJKLMNOPVWQ [\   ]^   mnopqrstuvwx|}                    !"#WXYZ[\]^_`abcde ! " #vA $ % & ' ( ) * + , - . / 0 1 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 m n o p q`abcd                           ! " # $ % &xo                           ! " # $ % & ' ( ) * + , - . / 0 1 2 3 4 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 { + , - . /    Q   \d`bac   & ' ( ) * 0 1 2 3 4 ! " # $ % 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 { Noneْ |rioLifted  ; }rioLifted  < ~rioLifted  = rioLifted  > rioLifted  , rioLifted  ? rioLifted  @ rioLifted  A rioLifted  B rioLifted  C rioLifted  D rioLifted  E rioLifted  FU   !"#$ | } ~  U"! $#   | } ~  None rioLifted  G rioLifted  H rio Unlifted  I rio Unlifted  J rioLifted  K rioLifted  L rioLifted  M rioLifted  N rioLifted  - rioLifted  . rioLifted  O rioLifted  P rioLifted  Q rioLifted  R rioLifted  S rioLifted  T rioLifted  U rioLifted  V rioLifted  W[%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTWXYZ_`abcdefghknopqrstu [%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTWXYZ_`abcdefghknopqrstu .None0 XriodReturns a low-level file descriptor for a directory path. This function exists given the fact that openFile does not work with directories.If you use this function, make sure you are working on a masked state, otherwise async exceptions may leave file descriptors open. Yrio Closes a  Z that points to a Directory. [rio>Executes the low-level C function fsync on a C file descriptor \rioKOpens a file from a directory, using this function in favour of a regular openFile guarantees that any file modifications are kept in the same directory where the file was opened. An edge case scenario is a mount happening in the directory where the file was opened while your program is running.If you use this function, make sure you are working on an masked state, otherwise async exceptions may leave file descriptors open. ]rioOpens a file using the openat C low-level API. This approach allows us to get a file descriptor for the directory that contains the file, which we can use later on to fsync the directory with.If you use this function, make sure you are working on an masked state, otherwise async exceptions may leave file descriptors open. ^rio*This sub-routine does the following tasks:WIt calls fsync and then closes the given Handle (mapping to a temporal/backup filepath)CIt calls fsync and then closes the containing directory of the file8These steps guarantee that the file changes are durable. _rio*This sub-routine does the following tasks:WIt calls fsync and then closes the given Handle (mapping to a temporal/backup filepath)9It renames the file to the original path (using renameat)CIt calls fsync and then closes the containing directory of the fileThese steps guarantee that the file is durable, and that the backup mechanism for catastrophic failure is discarded after no error is thrown. rioAfter a file is closed, it opens it again and executes fsync internally on both the file and the directory that contains it. Note this function is intended to work around the non-durability of existing file APIs, as opposed to being necessary for the API functions provided in < module. Zhttps://stackoverflow.com/questions/37288453/calling-fsync2-after-close2/50158433#501584338The effectiveness of calling this function is debatable, as it relies on internal implementation details at the Kernel level that might change. We argue that, despite this fact, calling this function may bring benefits in terms of durability.Cross-Platform support-This function is a noop on Windows platforms. rio Similar to writeFileBinary, but it also ensures that changes executed to the file are guaranteed to be durable. It internally uses fsync and makes sure it synchronizes the file on disk.Cross-Platform support"This function behaves the same as = on Windows platforms. rio Similar to writeFileBinary, but it also guarantes that changes executed to the file are durable, also, in case of failure, the modified file is never going to get corrupted. It internally uses fsync and makes sure it synchronizes the file on disk.Cross-Platform support"This function behaves the same as = on Windows platforms. rio+Opens a file with the following guarantees:DIt successfully closes the file in case of an asynchronous exceptionIt reliably saves the file in the correct directory; including edge case situations like a different device being mounted to the current directory, or the current directory being renamed to some other name while the file is being used.RIt ensures durability by executing an fsync call before closing the file handleCross-Platform support"This function behaves the same as >? on Windows platforms. rio+Opens a file with the following guarantees:DIt successfully closes the file in case of an asynchronous exceptionIt reliably saves the file in the correct directory; including edge case situations like a different device being mounted to the current directory, or the current directory being renamed to some other name while the file is being used.RIt ensures durability by executing an fsync call before closing the file handleIt keeps all changes in a temporary file, and after it is closed it atomically moves the temporal file to the original filepath, in case of catastrophic failure, the original file stays unaffected.Performance Considerations)When using a writable but non-truncating   (i.e.   and   ), this function performs a copy operation of the specified input file to guarantee the original file is intact in case of a catastrophic failure (no partial writes). This approach may be prohibitive in scenarios where the input file is expected to be large in size.Cross-Platform support"This function behaves the same as >? on Windows platforms. [rio#Meta-description for error messagesrioC File Descriptor  Safe1 W      !"#$%&'()*+,-./01234589:;=@ABCDEGHIJKLMNOPRVWXYZ[\]^_`abcdWd`_^c]\[ZbaYXWVRPONMLHGEDCBKJIA@=;:98543210/.-,+*)('&%$#"!      Safe367<>?FQSTUUQTSF?><76Safe4ruvw}wv}urSafe5Md      !"#$%&'*)( d      !"#$%&'*)( )None8    !"#$&(*,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`aberstuvwxyz{|}~wvuts~}|{zyxreba`_^]\[ZYXWVUTSRQPONMLKJIHGFEDCBA@?>=<;:9876543210/.-,*(&$#"!    &None="#$%&'(),-./01234578:;=>@AJKLMNOPQRSUWY[\]^_`abcdefghijklmnopqrstuvwxyz{|}~~}|{zyxrqpowvutsnmlkjihgfedcba`_^]\[YWUSRQPONMLKJA@>=;:87543210/.-,)('&%$#"(NoneB'# !*+69<?BCDEFGHITVXZ#ZXVTIHGFCBED?<96+*! 'NoneCu+NoneDS#  %')+dijkopq#qpokjid+)'%  $NoneEqtvwz{|q|{zvwt%NoneIg!}~  !  ~}#NoneK  rioLifted version of  `pqrsuxy      yxusrqp NoneL     %&'()*+,-./0123456789:;<=CDEHTVWmlkjihgfedcba`_^]\[ZYXnonmlkjihgfedcba`_^]\[ZYXoWVTHEDC=<;:9*)('&876543210/.-,+%     "NoneP#"#$FGLMNRSU#USRNMLGF$#"!NoneRK !>?@ABIJKOPQQPOKJIBA@?>! *NoneS)cfghlmnnmlhgfcSafeTG a@ABCDE@FG@FH@IJ@IK@AL@AM@AN@OP@OQ@RSCTUCTV@OW@AX@AY@AZ@A[@\]@^_@`a@Rb@Rc@Rd@Re@fg@Ah@Ai@Aj@Ak@Al@Am@An@Ao@pq@prCTs@tu@Rv@Rw@Ax@yz@A{@O|CT}@~@R@t@R@@@\@`@A@@@@A@ACCCCC@@@@@@C@RCC@@@@@@C@@C@@CCC@@@@@y@y@y@y@y@y@y@y@y@y@y@y@y@y@f@f@f@f@f@f@f@f@f@f@f@f@@@@@@@@@@@^@^@^@^@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @ @ @ @ @@@@@@@@@@@@@@@@@@ @!@"@#@$@%@&@'@(@)@*@+@,@-@.@/@0@1@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@TU@TV@TW@TX@TY@Z[@Z\@]@^@_@`@a@b@cd@ef@ef@gh@gi@jk@~l@~m@tn@to@tp@tq@tr@ts@tt@tu@tv@tw@tx@ty@tz@t{@t|@t}@t~@t@t@t@t@t@t@t@t@t@t@t@t@t@t@t@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@R@R@R@R@R@R@R@R@R@R@R@R@R@R@R@R@R@R@R@p@p@p@p@p@p@@@@@F@F@F@F@F@F@F@F@F@F@F@F@F@F@F@F@F@F@F@F@F@F@F@F@F@F@F @F @F @F @ @ @ @ @ @ @ @ @ @I@I@O@O@O@O@O@A@A@A @A!@A"@A#@A$@A%@A&@A'@A(@A)@A*@A+@A,@A-@A.@A/@A0@A1@A2@A3@A4@A5@67@68@9CT:CT;CT<CT=CT>CT?CT@CTACTBCTCDEFDEGDHIDJKDLIDJMDJNDJODPQDJRDJ%DJ&DJDJDJHDJSDJLDJRDJMDJ>DJGDJDJDJNDJDJODJTDJPDJUDJQDJVDJ@DJ'DJ(DJWDJXDJDJDJDJDJDJDJDJDJDJDJDJDJDJDJDJ DJDJDJDJDJDJDJDJDJDJDJDJ?DJADJDJMDJYDJDJ DJ DJ DJ DJZDJ[DJ\DJDJDJ]DJ^DJ_DJ`DJaDHbDHcDdRDd"Dd%Dd&DdDdDdHDdeDdKDdSDdLDdRDdMDd>DdDdGDdDdDdNDdODdTDdPDdUDdQDdVDd@Dd'Dd(DdWDdXDdfDdDdgDdDdDdDdDdDdDdhDdDdDdDdDdDdDdDdDd DdDdDdDdDdDdiDdDdDdDdjDdDdDdDd?DdADdDdMDdMDdYDdDd Dd Dd Dd DdZDd\DdDdDd`DdaDdNDdODEklmnlmolmplmqlmrlmslmtlmulmvlmwlmxlmylmzlm{lm|lm}lm~lmlmMlmlmlmlmlmlmlmlmlmlmlmlmlmlmlmlmlmlmlmlmlmlmlmlmlmlmlmlmlm=lmNlmllllllllllWllllllllllllllljlllll>lllllGlllllllllEllllllllllllllllllOlHlOllllllllllFllllll!l"l1l5llllHllxlllllllllGl>lllllllllll&l%lllllllllllllllllVlllllllllllllllllllNlOlAllllll l l l l llllllllllllllllllOllWlnloltlulxllllllljlllMl>lGlllEllllllllllHl=lNlOlllllllllFl !"#!"$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYWXZWX[WX\WX]W^_W`aW`bW`cW`dW`eW`fghighjklmklnkloklpklqklrklsktuktvktwktxktyktzkt{k|}k|~k|k|gggggggggggggggggggggggggggHTV>GSRKLMW%&'(Sh ?A@M    MZ\^]_KN`abcORSRKLMHTOVG>W%&('Sh ?A@M    MZ\aN`O        !"#$%&'()*)+),)-)./01/02/03/04/05/06/07/08/09/0:/0;/0</0=/0>/0?/0@/0A/0B/0C/0D/0E/0F/0G/0H/0I/0J/0K/0L/0M/0N/0O/0P/0Q/0R/0S/0T/0U/0V/0W/0X/0Y/0Z/0[/0\/0]/0^/0_/0`/0a/0b/0b/0c/0cdefdegdehdeidejklxklklGklklklklklMklHkl=klklklklklEklmklnklNklOklokpwkpxkpkpkpkp~kpkpkpMkpkpkpkpkpkpkpkp=kpNkqkqkqkqGkqkqkqkqkqkqkqkqkqEkqHkqkqrkqkqkqkqkqOkqstu+tu3tu,tu4tu-tu5tutututuHtuRtuvtuwtuxtuytuztu{tuxtutu|tutu}tutu~tututututututututututututututututututututututututututututu tututu tu tututututututututuitujtututututututuPtuQtuNtuOtututututututu>tutututututututuGtutututututututututu/tu0tu1tututututututututututuMtutuwtututututututututututututututututututututututuBtuZtu\tututututututututuhtututututuNtuOtututututututututu tutututututututututututu tu tututututttttttttttttttttttttttttttttRtvtwtxtytzt{txtt|tt}tt~ttttttttttttttttttttttttt ttt t tttttttttitjtttttttPtQtNtOttttttt>ttttttttGtttttttt/t0t1tttttttttMtwtttttttttttttttttttBtZt\ttttttttthtttttNtOttttttttt tttttttttttt t ttttttttRtvtwtxtytzt{txtt|tttt}tt~ttttttttttttttttttttttttttttttttt ttt t tttttttttitjtttttttPtQtNtOttttttt>ttttttttGttttt+t,t-ttt3t4t5ttHtttttt/t0t1tttttttttttMttwtttttttttttttttttttttttBtZt\ttttttttthtttttNtOttttttttt tttttttttttt t ttttttttttttttttttttttttvtRtxtytwtztt{txtt|tttt}tt~ttttttttttttttttttttttttttttttttt ttt t tttttttttitjtttttttPtQtNtOttttttt>ttttttttGt+t,t-ttttttt3t4t5ttHtttttt/t0t1tttttttttttMttwttttttttttttttttttttttttBtZt\ttttttttthtttttNtOttttttttt tttttttttttt t ttttt  t  t  t  t t t t S0000 0 0!0"0#0$0%0&1'1(1)2*2+2,2-2.2/202122232435464748494:4;4<4=4>5?5@7A7B7C7D7E7F7G7H7I7J7K7L7M7N7O7P7Q7R7S7T7U7V7W7X7Y7Z7[7\7]7^7_7`7a7b7c7d7e7f7g7h8i8j8k8l8=8m,n,o,p,q,r,s,t,u,v,w,x,y,z,{,|,},~,999999:::::::::::::::----;;;;;;;;;;;;;;;;;;;;;;;;;;;                                .....#dd d d d d dddddddddddddddddddd d!d"d#d$d%d&d'd(d)d*d+d,d-d.d/d0d102030405060708090:0;0<0=0>0?0@0A0B0C0D0E@FG@AH@IJKLMKLNKLOKLPKLQKLRKLSKLTKLUKLVKLW@XY@Z[@\]@\^@_`@_a@b@c@d@e@f@g@g@_h@Ii@Ij@Ik@Il@mn@op@q@r@s@t@uv@uw@ux@uy@uz@{|@}@}~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ddddddddddddddddddddddddededededededededededededededdddddddddddddddddddddddddddddddddd d d d d ddddddddddddddddddd d!d"d#d$d%d&d'd(d)d*d+d,d,d-d.d/d0d12d13d14d15d16d17d18d19d1:d;<d;=d;>d;?d;@d;Ad;Bd;Cd;Dd;Ed;Fd;Gd;Hd;Id;Jd;Kd;Ld;Md;Nd;Od;?d;PdQRdQSdQTdQUdQVdQWdQXdQYdQZdQ[dQ\dQ]dQ^dQ_dQ`dQadQbdQcdQddQedQfdQgdQhdQidQjdQkdQldQmdQndQodQpdQqdQrdQsdQtdQudQvdQwdQxdQydQzdQ{dQ|dQ}dQ~dQdQdQdQdQdQdQdQdQdQdddddd77777DJDdDd::/0/0DJDJDJDJDJDJDJDJDJDJDJDJDdDdDdDdDdDdDdDdDdDdDdDdDdDdDdDdDd..@.....t"rio-0.1.9.1-JiP5ZWbevvU8Gh55ZGbkh0RIO.List RIO.PreludeRIO.Prelude.TypesRIO.CharRIO RIO.FilePathRIO.List.PartialRIO.Char.Partial RIO.PartialRIO.ByteString.LazyRIO.ByteString.Lazy.PartialRIO.ByteStringRIO.ByteString.PartialRIO.Map.UncheckedRIO.MapRIO.Map.PartialRIO.SeqRIO.SetRIO.Set.PartialRIO.Set.Unchecked RIO.Writer RIO.State RIO.Text.LazyRIO.Text.Lazy.PartialRIO.TextRIO.Text.PartialRIO.Time RIO.Process RIO.HashSet RIO.HashMapRIO.HashMap.PartialRIO.Vector.UnboxedRIO.Vector.Unboxed.UnsafeRIO.Vector.Unboxed.PartialRIO.Vector.Storable.UnsafeRIO.Vector.StorableRIO.Vector.Storable.PartialRIO.Vector.BoxedRIO.Vector.Boxed.UnsafeRIO.Vector.Boxed.Partial RIO.VectorRIO.Vector.UnsafeRIO.Vector.Partial RIO.DequeRIO.Prelude.SimpleRIO.File RIO.DirectoryRIO.Prelude.DisplayRIO.Prelude.ExitRIO.Prelude.ExtraRIO.Prelude.LensRIO.Prelude.RenamesRIO.Prelude.TextRIO.Prelude.ReexportsRIO.Prelude.LoggerRIO.Prelude.IORIO.Prelude.URefRIO.Prelude.RIORIO.Prelude.TraceFilewriteFileBinary System.IOwithBinaryFilebaseGHC.Base++ghc-primGHC.PrimseqGHC.Listfilterzip Data.Tuplefstsnd otherwisemap$GHC.Num fromInteger-GHC.Real fromRational GHC.Classes==>=negate>>=>>fmapreturnControl.Monad.Failfail Control.Arrowfirst Data.String fromString fromIntegral realToFrac toInteger toRational Control.Monadguard<>memptymappendmconcatjoin<*>pure*>GHC.EnumBoundedEnumEq GHC.FloatFloating FractionalIntegralMonad Data.DataDataFunctorNumOrdGHC.ReadReadReal RealFloatRealFracGHC.ShowShowData.Typeable.InternalTypeable MonadFailIsString Applicative Data.FoldableFoldableData.Traversable Traversable GHC.GenericsGeneric SemigroupMonoid GHC.TypesBoolCharDoubleFloatIntGHC.IntInt8Int16Int32Int64 integer-gmpGHC.Integer.TypeInteger GHC.NaturalNatural GHC.MaybeMaybeOrderingRationalIOWordGHC.WordWord8Word16Word32Word64 Data.EitherEitherGHC.Stack.Types CallStackFalseNothingJustTrueLeftRightLTEQGTGHC.STST GHC.Conc.SyncThreadId Data.VoidabsurdVoidgmapMogmapMpgmapMgmapQigmapQgmapQrgmapQlgmapT dataCast2 dataCast1 dataTypeOftoConstrgunfoldgfoldlmfilter<$!>unless replicateM_foldM_foldM zipWithM_zipWithMforever<=<>=>filterM Data.ListisSubsequenceOf mapAccumR mapAccumLforMforsequencemapM sequenceAtraverseControl.Applicativeoptional&&&***secondArrowData.Functor.Identity runIdentityIdentityGHC.IO.Exception ExitFailure ExitSuccessExitCodeGHC.IOFilePathGHC.Exception.Type ExceptionData.Functor.ConstgetConstConstfindnotElem minimumBy maximumByallanyorand concatMapconcatmsumasum sequence_ sequenceA_forM_mapM_for_ traverse_productsumminimummaximumelemlengthnulltoListfoldl1foldr1foldl'foldlfoldrfoldMapfold Data.OldListunwordswordsunlineslinesunfoldrsortOnsortBysort permutations subsequencestailsinitsgroupBygroupdeleteFirstsByunzip7unzip6unzip5unzip4zipWith7zipWith6zipWith5zipWith4zip7zip6zip5zip4genericReplicate genericIndexgenericSplitAt genericDrop genericTake genericLengthinsertByinsert partition transpose intercalate intersperse intersectBy intersectunionByunion\\deleteBydeletenubBynub isInfixOf isSuffixOf isPrefixOf findIndices findIndex elemIndices elemIndex stripPrefix dropWhileEnd Data.Char isSeparatorisNumberisMarkisLetter digitToInt Text.Readread readMaybeisRightisLeftpartitionEithersrightsleftseitherData.Ord comparing Data.ProxyProxyControl.Category>>>CategoryForeign.StorableStorable readLitChar lexLitCharatanhacoshasinhtanhcoshsinhatanacosasintancossinlogBase**sqrtlogexppiatan2isIEEEisNegativeZeroisDenormalized isInfiniteisNaN scaleFloat significandexponent encodeFloat decodeFloat floatRange floatDigits floatRadix byteSwap64 byteSwap32 byteSwap16 GHC.UnicodetoTitletoUppertoLowerisLowerisUpperisPrint isControl isAlphaNumisAlphaisSymbol isPunctuation isHexDigit isOctDigitisDigitisSpace isAsciiUpper isAsciiLowerisLatin1isAsciigeneralCategory NotAssigned PrivateUse SurrogateFormatControlParagraphSeparator LineSeparatorSpace OtherSymbolModifierSymbolCurrencySymbol MathSymbolOtherPunctuation FinalQuote InitialQuoteClosePunctuationOpenPunctuationDashPunctuationConnectorPunctuation OtherNumber LetterNumber DecimalNumber EnclosingMarkSpacingCombiningMarkNonSpacingMark OtherLetterModifierLetterTitlecaseLetterLowercaseLetterUppercaseLetterGeneralCategoryrunST Data.Boolbool Data.Function&onfix Data.Functorvoid$><&><$>lcmgcd^^^oddevendivModquotRemmoddivremquotrecip/floorceilingroundtruncateproperFractionmaxBoundminBoundfromEnumtoEnumpredsuccGHC.Charchr intToDigit showLitCharshowunzip3unzipzipWith3zipWithzip3!!lookupreversebreakspansplitAtdroptake dropWhile takeWhilecycle replicaterepeatiteratescanr1scanrscanl'scanl1scanlfoldl1'initlasttailunconshead Data.MaybemapMaybe catMaybes listToMaybe maybeToList fromMaybefromJust isNothingisJustmaybeuncurrycurrysubtractsignumabs*+asTypeOf$!flip.constidordliftM2liftMwhen=<<liftA3liftA<$<*liftA2manysome<|> Alternativemplusmzero MonadPlusStringGHC.Err undefinederror HasCallStack/=<=compare&&||not<>maxminbytestring-0.10.8.2Data.ByteString.Short.Internal fromShortShortByteStringData.ByteString.Lazy.Internal ByteStringData.ByteString.Lazy fromChunksData.ByteString.Internalappend singletonempty Data.ByteString.Builder.InternalBuildercopy stripSuffixcount elemIndexEndindexsplit splitWithunsnocsnoccons'constoStrict fromStricttoChunksunpackpack foldlChunks foldrChunksData.ByteStringbreakSubstringspanEndbreakEndunfoldrNfoldr1'foldr'toShortcontainers-0.6.0.1Data.Map.Strict.InternalfromDistinctDescListfromDistinctAscListfromDescListWithKeyfromAscListWithKeyfromDescListWithfromAscListWith fromDescList fromAscListfromListWithKey fromListWithfromListfromSet mapKeysWithmapAccumRWithKeymapAccumWithKeymapAccumtraverseWithKey mapWithKeymapEitherWithKey mapEithertraverseMaybeWithKeymapMaybeWithKey mergeWithKeyintersectionWithKeyintersectionWithdifferenceWithKeydifferenceWith unionWithKey unionWith unionsWithupdateMaxWithKeyupdateMinWithKey updateMax updateMinupdateAtalterFalterupdateLookupWithKey updateWithKeyupdate adjustWithKeyadjustinsertLookupWithKey insertWithKey insertWithfindWithDefault$Data.Map.Internal.DeprecatedShowTree showTreeWithshowTreeData.IntMap.InternalIntMapData.IntSet.InternalIntSetData.Map.Internal.DebugvalidData.Map.Internal splitRoot deleteFindMax deleteFindMin splitLookup toDescList toAscListkeysSetassocskeyselemsfoldMapWithKey foldlWithKey' foldlWithKey foldrWithKey' foldrWithKeymapKeysMonotonicmapKeyspartitionWithKey spanAntitonedropWhileAntitonetakeWhileAntitone filterWithKeyisProperSubmapOfByisProperSubmapOf isSubmapOfBy isSubmapOf restrictKeys intersection withoutKeys differenceunionsmaxViewminViewmaxViewWithKeyminViewWithKey deleteMax deleteMinfindMax lookupMaxfindMin lookupMindeleteAtelemAt lookupIndexlookupGElookupLElookupGTlookupLT notMembermembersize!?!MapData.Sequence.Internal.SortingunstableSortBy unstableSortData.Sequence.Internal findIndicesR findIndicesL findIndexR findIndexL elemIndicesR elemIndicesL elemIndexR elemIndexLbreakrbreaklspanrspanl dropWhileR dropWhileL takeWhileR takeWhileLfoldrWithIndexfoldlWithIndexchunksOf fromArray fromFunctiontraverseWithIndexfoldMapWithIndex mapWithIndexinsertAtadjust'viewrviewliterateNunfoldl><|><| cycleTaking replicateM replicateAEmpty:<|:|>Seq:<EmptyLViewL:>EmptyRViewRData.Set.Internal splitMember mapMonotonic isSubsetOfisProperSubsetOfSetdeepseq-1.4.4.0Control.DeepSeqforce$!!deepseqrnfNFDatafilepath-1.4.2.1System.FilePath.Posix makeRelativedropTrailingPathSeparator normalise(exceptions-0.10.1-DdWfqA1lutT4wybeL2xRnxControl.Monad.CatchthrowM MonadThrow isAbsolute isRelative makeValidisValid equalFilePathjoinPathsplitDirectories splitPathcombinereplaceDirectory takeDirectoryaddTrailingPathSeparatorhasTrailingPathSeparatorreplaceBaseName takeBaseName takeFileName dropFileNamereplaceFileName splitFileNameisDrivehasDrive dropDrive takeDrive joinDrive splitDrivereplaceExtensionstakeExtensionsdropExtensionssplitExtensionsstripExtension isExtensionOf hasExtension addExtension dropExtension<.>replaceExtension-<.> takeExtensionsplitExtensionsplitSearchPathisExtSeparator extSeparatorisSearchPathSeparatorsearchPathSeparatorisPathSeparatorpathSeparators pathSeparator'hashable-1.2.7.0-2SI038axTEd7AEZJ275kpiData.Hashable.ClassHashable'microlens-0.4.10-LVgmazyXGvNKvoQElrYSfS Lens.Microlensto^.setoverLens.Micro.InternalsetsLens.Micro.TypeASetterASetter' SimpleGetterGettingLensLens'transformers-0.5.5.0Control.Monad.Trans.Classlift MonadTrans mtl-2.2.2Control.Monad.Writer.Classcensorlistenspasslistentellwriter MonadWriterControl.Monad.State.Classgetsmodify'modifystateputget MonadStateControl.Monad.Reader.Classaskslocalask MonadReaderControl.Monad.Trans.ReaderReaderT runReaderTReader runReaderControl.Monad.Trans.State.LazyStateT runStateTStaterunState evalState execStatemapState withState evalStateT execStateT mapStateT withStateTControl.Monad.Trans.Writer.LazyWriterT runWriterTWriter runWriter execWriter mapWriter execWriterT mapWriterT(primitive-0.6.4.0-1mvPxVOk6Q6KOkWCZxqESfControl.Monad.Primitive primitive PrimState PrimMonad text-1.2.3.1Data.Text.LazycommonPrefixessplitOn breakOnAll breakOnEndbreakOnstripstripEnd stripStart dropAround takeWhileEnddropEndtakeEnd toCaseFoldreplacecenter justifyRight justifyLeft compareLengthData.Text.Internal.LazyText Data.TextData.Text.Encoding encodeUtf8encodeUtf8Builder decodeUtf8'decodeUtf8WithData.Text.ShowunpackCString#Data.Text.InternalData.Text.Encoding.Error lenientDecode EncodeError DecodeErrorUnicodeException time-1.8.0.2Data.Time.Format formatTimeNumericPadOptionformatCharacter FormatTimeData.Time.Format.Parse readsTimereadTime parseTime readPTime readSTimeparseTimeOrError parseTimeM buildTime ParseTime&Data.Time.LocalTime.Internal.ZonedTimezonedTimeToUTCutcToZonedTime zonedTimeZonezonedTimeToLocalTime ZonedTimeData.Time.Format.Localerfc822DateFormatiso8601DateFormatdefaultTimeLocaleknownTimeZones time12FmttimeFmtdateFmt dateTimeFmtamPmmonthswDays TimeLocale&Data.Time.LocalTime.Internal.LocalTimelocalTimeToUT1ut1ToLocalTimelocalTimeToUTCutcToLocalTimelocalTimeOfDaylocalDay LocalTime&Data.Time.LocalTime.Internal.TimeOfDaytimeOfDayToDayFractiondayFractionToTimeOfDaytimeOfDayToTimetimeToTimeOfDaylocalToUTCTimeOfDayutcToLocalTimeOfDaymakeTimeOfDayValidmiddaymidnighttodSectodMintodHour TimeOfDay%Data.Time.LocalTime.Internal.TimeZoneutctimeZoneOffsetStringtimeZoneOffsetString'hoursToTimeZoneminutesToTimeZone timeZoneNametimeZoneSummerOnlytimeZoneMinutesTimeZone Data.Time.Clock.Internal.UTCDiff diffUTCTime addUTCTime&Data.Time.Clock.Internal.UniversalTimegetModJulianDate ModJulianDate UniversalTime Data.Time.Clock.Internal.UTCTime utctDayTimeutctDayUTCTime#Data.Time.Clock.Internal.SystemTimegetTime_resolution(Data.Time.Clock.Internal.NominalDiffTime nominalDayNominalDiffTime!Data.Time.Clock.Internal.DiffTimediffTimeToPicosecondspicosecondsToDiffTimesecondsToDiffTimeDiffTimeData.Time.Calendar.GregorianaddGregorianYearsRollOveraddGregorianYearsClipaddGregorianMonthsRollOveraddGregorianMonthsClipgregorianMonthLength showGregorianfromGregorianValid fromGregorian toGregorianData.Time.Calendar.OrdinalDate isLeapYearData.Time.Calendar.DaysdiffDaysaddDaystoModifiedJulianDayModifiedJulianDayDay,typed-process-0.2.4.0-D6x4RaAaSSiA0sPTGp5r0FSystem.Process.TypedunsafeProcessHandle getStderr getStdoutgetStdincheckExitCodeSTM checkExitCodegetExitCodeSTM getExitCodewaitExitCodeSTM waitExitCode runProcess_ runProcessreadProcessStderr_readProcessStderrreadProcessStdout_readProcessStdout readProcess_ readProcess stopProcess startProcessuseHandleClose useHandleOpen createPipebyteStringOutputbyteStringInputclosedinherit mkStreamSpec setChildUser setChildGroup setNewSessionsetCreateNewConsolesetDetachConsolesetDelegateCtlcsetCreateGroup setCloseFds setStderr setStdoutsetStdin ProcessConfigSTOutputSTInput StreamType StreamSpecProcess eceStderr eceStdouteceProcessConfig eceExitCodeExitCodeExceptionByteStringOutputException&unliftio-0.2.10-1qBqSiBXLZs1q1ojYCqYZuUnliftIO.ConcurrentisCurrentThreadBoundthreadWaitWritethreadWaitRead threadDelay myThreadId4unordered-containers-0.2.10.0-LgoTL3wbBEY5bZIDJiyxW4Data.HashSet.BasefromMaptoMapHashSetData.HashMap.Strict.BaseData.HashMap.Base lookupDefaultHashMap&vector-0.12.0.2-H1Eu1OCXL0L9y980iV8EwUData.Vector.Unboxed unsafeCopyfreezethaw unsafeThaw unsafeFreeze fromListNscanr1'scanr' postscanr' postscanr prescanr'prescanrscanl1' postscanl' postscanl prescanl'prescanlfold1M'_ifoldM'_foldM'_fold1M_ifoldM_fold1M'ifoldM'foldM'fold1MifoldM minIndexByminIndex maxIndexBymaxIndexifoldr'ifoldrifoldl'ifoldlunstablePartition imapMaybeifilteruniq izipWithM_ izipWithM izipWith6 izipWith5 izipWith4 izipWith3izipWithimapM_imapMimapindexedunsafeBackpermute backpermuteunsafeAccumulate_unsafeAccumulate unsafeAccum accumulate_ accumulateaccum unsafeUpdate_ unsafeUpdate unsafeUpdupdate_//createTcreate iterateNM generateMenumFromThenTo enumFromTo enumFromStepN enumFromN constructrN constructN unfoldrNMunfoldrMgenerate unsafeDrop unsafeTake unsafeTail unsafeInit unsafeSliceslice unsafeLastM unsafeHeadM unsafeIndexMlastMheadMindexM unsafeLast unsafeHead unsafeIndexData.Vector.Unboxed.BaseMV_UnitMV_IntMV_Int8MV_Int16MV_Int32MV_Int64MV_WordMV_Word8 MV_Word16 MV_Word32 MV_Word64MV_Float MV_DoubleMV_CharMV_Bool MV_ComplexMV_2MV_3MV_4MV_5MV_6MVectorVectorUnboxData.Vector.StorableunsafeToForeignPtr0unsafeToForeignPtrunsafeFromForeignPtr0unsafeFromForeignPtrData.Vector.Storable.Mutable Data.Vectoriscanr'iscanriscanl'iscanlData.Vector.MutableData.Vector.GenericdataCastmkType liftReadsPrecreadPrec liftShowsPrec showsPreccmpBycmpeqByeqclonenew unstreamRstreamRunstreamstreamconvertconcatNEData.Vector.Generic.BaseelemseqbasicUnsafeCopybasicUnsafeIndexMbasicUnsafeSlice basicLengthbasicUnsafeThawbasicUnsafeFreeze getSearchPath dropPrefix dropSuffixlinesCR headMaybe lastMaybe tailMaybe initMaybe maximumMaybe minimumMaybemaximumByMaybeminimumByMaybeDisplaydisplay textDisplay Utf8BuildergetUtf8Builder displayShowdisplayBytesUtf8utf8BuilderToTextutf8BuilderToLazyTextwriteFileUtf8Builder exitFailure exitSuccessexitWithmapLeft fromFirst mapMaybeA forMaybeA mapMaybeM forMaybeMfoldMapMnubOrdwhenMunlessMasIOviewLText LByteStringGVectorSVectorUVectorsappend toStrictBytesfromStrictBytes yieldThreadtshowdecodeUtf8Lenient LogOptionsLogFunc HasLogFunclogFuncL LogSourceLogLevel LevelDebug LevelInfo LevelWarn LevelError LevelOther mkLogFunc logGenericlogDebuglogInfologWarnlogErrorlogOther logDebugSlogInfoSlogWarnS logErrorS logOtherS logSticky logStickyDonelogOptionsMemorylogOptionsHandle newLogFunc withLogFuncsetLogMinLevelsetLogMinLevelIOsetLogVerboseFormatsetLogVerboseFormatIOsetLogTerminal setLogUseTimesetLogUseColor setLogUseLocdisplayCallStacklogFuncUseColorL noLogging withLazyFile writeFileUtf8 hPutBuilderreadFileBinary readFileUtf8BDequeSDequeUDequeDequeasUDequeasSDequeasBDequenewDeque getDequeSize popFrontDeque popBackDequepushFrontDeque pushBackDeque foldlDeque foldrDeque dequeToList dequeToVector freezeDequeIOURefURefnewURefreadURef writeURef modifyURef HasWriteRef writeRefL HasStateRef stateRefLSomeRefunRIOrunRIOliftRIO readSomeRef writeSomeRef modifySomeRef newSomeRefnewUnboxedSomeRefLoggedProcessContextHasProcessContextprocessContextLProcessException NoPathFoundExecutableNotFoundExecutableNotFoundAtPathsInvalidInPathProcessContextEnvVars workingDirLenvVarsLenvVarsStringsLexeSearchPathLmkProcessContext resetExeCachemkDefaultProcessContext modifyEnvVarswithModifyEnvVarswithWorkingDirproc withProcess withProcess_withProcessContextNoLoggingexec execSpawndoesExecutableExistfindExecutable augmentPathaugmentPathMapshowProcessArgDebug$fExceptionProcessException$fShowProcessException!$fHasProcessContextProcessContext'$fHasProcessContextLoggedProcessContext $fHasLogFuncLoggedProcessContext SimpleApp runSimpleApp$fHasProcessContextSimpleApp$fHasLogFuncSimpleApptracetraceIdtraceIOtraceM traceEvent traceEventIO traceMarker traceMarkerIO traceStack traceShow traceShowId traceShowIO traceShowMtraceShowEventtraceShowEventIOtraceShowMarkertraceShowMarkerIOtraceShowStack traceDisplaytraceDisplayIdtraceDisplayIO traceDisplayMtraceDisplayEventtraceDisplayEventIOtraceDisplayMarkertraceDisplayMarkerIOtraceDisplayStack getContentsputStrputStrLninteractreadFile writeFile appendFilehGet hGetContentshGetNonBlockinghPuthPutNonBlockinghPutStr packCStringpackCStringLen useAsCStringuseAsCStringLengetLinehGetLinehGetSomeensureFileDurablewriteBinaryFileDurablewriteBinaryFileDurableAtomicwithBinaryFileDurablewithBinaryFileDurableAtomicgetCurrentTime getTimeZonegetCurrentTimeZone getZonedTimeutcToLocalZonedTime unsafeWithdirectory-1.3.3.0System.Directory exeExtensionsetOwnerSearchablesetOwnerExecutablesetOwnerWritablesetOwnerReadableemptyPermissions System.Directory.Internal.Common Permissionsreadablewritable executable searchable XdgDirectoryXdgData XdgConfigXdgCacheUnliftIO.DirectorysetModificationTime setAccessTimegetModificationTime getAccessTimecopyPermissionssetPermissionsgetPermissionspathIsSymbolicLinkdoesDirectoryExist doesFileExist doesPathExist getFileSize findFilesWith findFileWith findFilesfindFilefindExecutablesInDirectoriesfindExecutablesmakeRelativeToCurrentDirectory makeAbsolutecanonicalizePathcopyFileWithMetadatacopyFile renamePath renameFile removeFilegetTemporaryDirectorygetUserDocumentsDirectorygetAppUserDataDirectorygetXdgDirectorygetHomeDirectorywithCurrentDirectorysetCurrentDirectorygetCurrentDirectorygetDirectoryContents listDirectoryrenameDirectoryremovePathForciblyremoveDirectoryRecursiveremoveDirectorycreateDirectoryIfMissingcreateDirectory$fIsStringUtf8Builder$fDisplayProcessConfig$fDisplayIOException$fDisplaySomeException$fDisplayWord64$fDisplayWord32$fDisplayWord16$fDisplayWord8 $fDisplayWord$fDisplayInt64$fDisplayInt32$fDisplayInt16 $fDisplayInt8 $fDisplayInt$fDisplayFloat$fDisplayInteger $fDisplayChar $fDisplayText$fDisplayText0$fDisplayUtf8Builder Data.MonoidFirstassertGHC.IO.Handle.TypesHandle"async-2.2.1-CnEO6bROc7S6QgTCMiGZteControl.Concurrent.Async waitBothSTMwaitEitherSTM_ waitEitherSTMwaitEitherCatchSTM waitAnySTMwaitAnyCatchSTMpollSTM waitCatchSTMwaitSTMAsync asyncThreadIdControl.ConcurrentrtsSupportsBoundThreadsControl.Concurrent.ChanChanControl.Monad.IO.ClassMonadIOliftIOGHC.IO.Handle.FDstderrstdin writeTVarreadTVarnewTVarSTMTVarSomeAsyncExceptionstdout BufferMode NoBuffering LineBufferingBlockBuffering GHC.IO.DeviceSeekMode GHC.IORefIORef IOException toException fromExceptiondisplayException GHC.IO.IOModeIOModeReadMode WriteMode AppendMode ReadWriteModeGHC.MVarMVar SomeException stm-2.5.0.0Control.Concurrent.STM.TVarswapTVar modifyTVar' modifyTVarControl.Concurrent.STM.TQueue isEmptyTQueue unGetTQueue tryPeekTQueue peekTQueue tryReadTQueue readTQueue writeTQueue newTQueueTQueueControl.Concurrent.STM.TMVar isEmptyTMVar swapTMVar tryReadTMVar readTMVar tryPutTMVarputTMVar tryTakeTMVar takeTMVar newEmptyTMVarnewTMVarTMVarControl.Concurrent.STM.TChan cloneTChan isEmptyTChan unGetTChandupTChan tryPeekTChan peekTChan tryReadTChan readTChan writeTChannewBroadcastTChannewTChanTChanControl.Concurrent.STM.TBQueue isFullTBQueueisEmptyTBQueue unGetTBQueuetryPeekTBQueue peekTBQueuetryReadTBQueue readTBQueue writeTBQueue newTBQueueTBQueue,unliftio-core-0.1.2.0-6l4GP0ylCTM6crlVTDgRiKControl.Monad.IO.Unlift MonadUnliftIO askUnliftIO withRunInIOUnliftIOunliftIO askRunInIO withUnliftIOtoIOwrappedWithRunInIOUnliftIO.TimeouttimeoutUnliftIO.TemporarywithTempDirectory withTempFilewithSystemTempDirectorywithSystemTempFile UnliftIO.STM newTBQueueIO newTQueueIOnewBroadcastTChanIO newTChanIO mkWeakTMVarnewEmptyTMVarIO newTMVarIO mkWeakTVar registerDelay readTVarIO newTVarIOcheckSTMretrySTM atomicallyUnliftIO.Memoize memoizeMVar memoizeRef runMemoizedMemoizedmkWeakThreadIdrunInUnboundThreadrunInBoundThreadforkOSyieldthreadCapabilitysetNumCapabilitiesgetNumCapabilitiesforkOnWithUnmaskforkOn killThread forkFinallyforkWithUnmaskforkIO UnliftIO.MVar mkWeakMVarmodifyMVarMaskedmodifyMVarMasked_ modifyMVar modifyMVar_withMVarMaskedwithMVar tryReadMVar isEmptyMVar tryPutMVar tryTakeMVarswapMVarreadMVarputMVartakeMVarnewMVar newEmptyMVarUnliftIO.Internals.AsyncpooledReplicateConcurrently_pooledReplicateConcurrentlyN_pooledReplicateConcurrentlypooledReplicateConcurrentlyNpooledForConcurrentlyN_pooledForConcurrently_pooledMapConcurrently_pooledMapConcurrentlyN_pooledForConcurrentlypooledForConcurrentlyNpooledMapConcurrentlypooledMapConcurrentlyNrunConcconcmapConcurrently_mapConcurrentlyreplicateConcurrently_replicateConcurrentlyforConcurrently_forConcurrently concurrently_ concurrentlyrace_racelink2linkwaitBoth waitEither_waitEitherCatchCancelwaitEitherCancelwaitEitherCatch waitEitherwaitAnyCatchCancel waitAnyCancel waitAnyCatchwaitAny cancelWithuninterruptibleCancelcancel waitCatchpollwaitwithAsyncOnWithUnmaskwithAsyncWithUnmask withAsyncOnwithAsyncBound withAsyncasyncOnWithUnmaskasyncWithUnmaskasyncOn asyncBoundasync ConcurrentlyrunConcurrentlyConc ConcExceptionEmptyWithNoAlternativeUnliftIO.IORef mkWeakIORefatomicWriteIORefatomicModifyIORef'atomicModifyIORef modifyIORef' modifyIORef writeIORef readIORefnewIORef UnliftIO.IOgetMonotonicTimehReady hWaitForInputhGetEchohSetEchohIsTerminalDevice hIsSeekable hIsWritable hIsReadable hIsClosedhIsOpenhTellhSeek hGetBuffering hSetBufferinghIsEOF hSetFileSize hFileSizehFlushhClosewithFileUnliftIO.Exception fromEitherM fromEitherIO fromEither impureThrowthrowTostringException throwStringuninterruptibleMask_mask_uninterruptibleMaskmaskisAsyncExceptionisSyncExceptiontoAsyncExceptiontoSyncExceptionthrowIO onException withExceptionfinallybracketOnError_bracketOnErrorbracket_bracket evaluateDeepevaluate catchesDeepcatches pureTryDeeppureTrytryJust tryAnyDeeptryDeeptryAnytryIOtry handleJust handleAnyDeep handleDeep handleAnyhandleIOhandle catchJust catchAnyDeep catchDeepcatchAnycatchIOcatchHandlerSyncExceptionWrapperAsyncExceptionWrapperStringException UnliftIO.ChanwriteList2ChangetChanContentsdupChanreadChan writeChannewChangetCanUseUnicodereplaceUnicodetimestampLength$fMonoidLogFunc$fSemigroupLogFunc$fHasStateRefaSomeRef$fHasWriteRefaSomeRef pcTextMap pcStringListpcPath pcExeCachepcExeExtensions pcWorkingDir preProcesswithProcessTimeLogopenDircloseDirectorySystem.Posix.TypesFdfsyncFileDescriptoropenFileFromDiropenFileAndDirectorycloseFileDurablecloseFileDurableAtomic