!$jQ      !"#$%&'()*+,-./01234 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 { | }~      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghi 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,-$Copyright (C) 2004-2011 John GoerzenBSD3%John Goerzen <jgoerzen@complete.org>  provisionalportableSafe ;<=>?CQV# MissingHTakes a IO action and a function. The IO action will be called in a separate thread. When it is completed, the specified function is called with its result. This is a simple way of doing callbacks.   $Copyright (C) 2008-2011 John GoerzenBSD3%John Goerzen <jgoerzen@complete.org>  provisionalportableSafe ;<=>?CQV: MissingH+The primary type for bin-packing functions.ZThese functions take a list of size of bins. If every bin is the same size, you can pass repeat binSize^ to pass an infinite list of bins if the same size. Any surplus bins will simply be ignored. d[size] is the sizes of bins [(size, obj)] is the sizes and objects result is Either error or results MissingH,Potential errors returned as Left values by   functions. Calling QG on this value will produce a nice error message suitable for display. MissingHFRan out of bins; attached value is the list of objects that do not fitMissingH8Bin size1 exceeded by at least the given object and sizeMissingH Other errorMissingHUPack objects into bins, preserving order. Objects will be taken from the input list one by one, and added to each bin until the bin is full. Work will then proceed on the next bin. No attempt is made to optimize allocations to bins. This is the simplest and most naive bin-packing algorithm, but may not make very good use of bin space. MissingHPack objects into bins. For each bin, start with the largest objects, and keep packing the largest object from the remainder until no object can be found to put in the bin. This is substantially more efficient than ", but requires sorting the input. MissingH,Let us use this as part of the Either monad   $Copyright (C) 2004-2011 John GoerzenBSD3%John Goerzen <jgoerzen@complete.org>  provisional$portable to platforms with rawSystemSafe ;<=>?CQVDMissingH@Returns a list representing the bytes that comprise a data type.Example: 6getBytes (0x12345678::Int) -> [0x12, 0x34, 0x56, 0x78]MissingHThe opposite of =, this function builds a number based on its component bytes.EResults are undefined if any components of the input list are > 0xff!MissingHConverts a Char to a Word8. MissingH Converts a String to a [Word8]. MissingHConverts a Word8 to a Char. MissingH Converts a [Word8] to a String. $Copyright (C) 2005-2011 John GoerzenBSD3$John Goerzen <jgoerzen@complete.org> provisionalportableSafe ;<=>?CQVZbMissingHParse a Comma-Separated Value (CSV) file. The return value is a list of lines; each line is a list of cells; and each cell is a String.Please note that CSV files may have a different number of cells on each line. Also, it is impossible to distinguish a CSV line that has a call with no data from a CSV line that has no cells.Here are some examples: Input (literal strings) Parses As (Haskell String syntax) -------------------------------- --------------------------------- 1,2,3 [["1", "2", "3"]] l1 [["l1"], ["l2"]] l2 (empty line) [[""]] NQ,"Quoted" [["NQ", "Quoted"]] NQ,"Embedded""Quote" [["NQ", "Embedded\"Quote"]]!To parse a String, you might use: Zimport Text.ParserCombinators.Parsec import Data.String.CSV .... parse csvFile "" mystring'To parse a file, you might instead use: 2do result <- parseFromFile csvFile "/path/to/file"Please note that the result of parsing will be of type (Either ParseError [[String]]). A Left result indicates an error. For more details, see the Parsec information.MissingHYGenerate CSV data for a file. The resulting string can be written out to disk directly. Copyright (C) 2004 Ian Lynagh  3-clause BSD Ian Lynagh, Safe ;<=>?CQV\q!MissingHReturns (Data, Remainder) !"# !#"$Copyright (C) 2004-2011 John GoerzenBSD3%John Goerzen <jgoerzen@complete.org>  provisionalportableSafe ;<=>?CQVlJ)MissingHrConverts a Maybe value to an Either value, using the supplied parameter as the Left value if the Maybe is Nothing.$This function can be interpreted as: +maybeToEither :: e -> Maybe a -> Either e aXIts definition is given as it is so that it can be used in the Error and related monads.*MissingHPulls a Right_ value out of an Either value. If the Either value is Left, raises an exception with "error". +MissingHLike *3, but can raise a specific message with the error. ,MissingHWTakes an either and transforms it into something of the more generic MonadError class. -MissingH*Take a Left to a value, crashes on a Right.MissingH*Take a Right to a value, crashes on a Left/MissingH.Take an Either, and return the value inside it)MissingH7(Left e) will be returned if the Maybe value is NothingMissingH.(Right a) will be returned if this is (Just a))*+,-./)*+,-./$Copyright (C) 2004-2011 John GoerzenBSD3%John Goerzen <jgoerzen@complete.org>  provisionalportableSafe ;<=>?CQVn01230123 Copyright (C) 2001 Ian Lynagh Either BSD or GPLIan Lynagh <igloo@earth.li> provisionalportableSafe ;<=>?CQVue4MissingHHAnything we want to work out the MD5 of must be an instance of class MD5AMissingHRThe simplest function, gives you the MD5 of a string as 4-tuple of 32bit words. BMissingH-Returns a hex number ala the md5sum program. CMissingH1Returns an integer equivalent to hex number from B. 475689:;<=>?@ABCABC4756>?@<=:;89 Safe ;<=>?CQVv{JJ $Copyright (C) 2004-2011 John GoerzenBSD3%John Goerzen <jgoerzen@complete.org>  provisionalportableSafe ;<=>?CQV UMissingH The type used for functions for q. See q for details.WMissingH3Merge two sorted lists into a single, sorted whole.Example: *merge [1,3,5] [1,2,4,6] -> [1,1,2,3,4,5,6]QuickCheck test property:gprop_merge xs ys = merge (sort xs) (sort ys) == sort (xs ++ ys) where types = xs :: [Int]XMissingHuMerge two sorted lists using into a single, sorted whole, allowing the programmer to specify the comparison function.QuickCheck test property:prop_mergeBy xs ys = mergeBy cmp (sortBy cmp xs) (sortBy cmp ys) == sortBy cmp (xs ++ ys) where types = xs :: [ (Int, Int) ] cmp (x1,_) (x2,_) = compare x1 x2YMissingHReturns true if the given list starts with the specified elements; false otherwise. (This is an alias for "Data.List.isPrefixOf".)Example: startswith "He" "Hello" -> TrueZMissingHReturns true if the given list ends with the specified elements; false otherwise. (This is an alias for "Data.List.isSuffixOf".)Example: endswith "lo" "Hello" -> True[MissingHPReturns true if the given list contains any of the elements in the search list. \MissingHSimilar to Data.List.takeWhile, takes elements while the func is true. The function is given the remainder of the list to examine. ]MissingHSimilar to Data.List.dropWhile, drops elements while the func is true. The function is given the remainder of the list to examine. ^MissingHkSimilar to Data.List.span, but performs the test on the entire remaining list instead of just one element.  spanList p xs is the same as ((takeWhileList p xs, dropWhileList p xs) _MissingHkSimilar to Data.List.break, but performs the test on the entire remaining list instead of just one element.`MissingH@Given a delimiter and a list (or string), split into components.Example: :split "," "foo,bar,,baz," -> ["foo", "bar", "", "baz", ""] 3split "ba" ",foo,bar,,baz," -> [",foo,","r,,","z,"]aMissingHGiven a list and a replacement list, replaces each occurance of the search list with the replacement list in the operation list.Example: *replace "," "." "127,0,0,1" -> "127.0.0.1"&This could logically be thought of as: ,replace old new l = join new . split old $ lbMissingHZGiven a delimiter and a list of items (or strings), join the items by using the delimiter.Example: /join "|" ["foo", "bar", "baz"] -> "foo|bar|baz"cMissingHLike bH, but works with a list of anything showable, converting it to a String. Examples: pgenericJoin ", " [1, 2, 3, 4] -> "1, 2, 3, 4" genericJoin "|" ["foo", "bar", "baz"] -> "\"foo\"|\"bar\"|\"baz\""dMissingHTReturns true if the given parameter is a sublist of the given list; false otherwise.Example: acontains "Haskell" "I really like Haskell." -> True contains "Haskell" "OCaml is great." -> False6This function was submitted to GHC and was applied as RP. This function therefore is deprecated and will be removed in future versions.eMissingHvAdds the specified (key, value) pair to the given list, removing any existing pair with the same key already present. fMissingHXRemoves all (key, value) pairs from the given list where the key matches the given one. gMissingHFReturns the keys that comprise the (key, value) pairs of the given AL.Same as: map fsthMissingHGReturns the values the comprise the (key, value) pairs of the given AL.Same as: map sndiMissingH5Indicates whether or not the given key is in the AL. jMissingH\Flips an association list. Converts (key1, val), (key2, val) pairs to (val, [key1, key2]). kMissingHConverts an association list to a string. The string will have one pair per line, with the key and value both represented as a Haskell string.tThis function is designed to work with [(String, String)] association lists, but may work with other types as well. lMissingHThe inverse of kM, this function reads a string and outputs the appropriate association list. Like k, this is designed to work with [(String, String)] association lists but may also work with other objects with simple representations.mMissingHTReturns a count of the number of times the given element occured in the given list. nMissingHDReturns the rightmost index of the given element in the given list. oMissingH;Like elemRIndex, but returns -1 if there is nothing found. pMissingH*Forces the evaluation of the entire list. qMissingHLThis is an enhanced version of the concatMap or map functions in Data.List.!Unlike those functions, this one:UCan consume a varying number of elements from the input list during each iteration3Can arbitrarily decide when to stop processing dataFCan return a varying number of elements to insert into the output list3Can actually switch processing functions mid-stream:Is not even restricted to processing the input list intact'The function used by wholeMap, of type U, is repeatedly called with the input list. The function returns three things: the function to call for the next iteration (if any), what remains of the input list, and the list of output elements generated during this iteration. The return value of qF is the concatenation of the output element lists from all iterations.JProcessing stops when the remaining input list is empty. An example of a U is r. rMissingHDA parser designed to process fixed-width input fields. Use it with q.The Int list passed to this function is the list of the field widths desired from the input. The result is a list of those widths, if possible. If any of the input remains after processing this list, it is added on as the final element in the result list. If the input is less than the sum of the requested widths, then the result list will be short the appropriate number of elements, and its final element may be shorter than requested. Examples: 5wholeMap (fixedWidth [1, 2, 3]) "1234567890" --> ["1","23","456","7890"] wholeMap (fixedWidth (repeat 2)) "123456789" --> ["12","34","56","78","9"] wholeMap (fixedWidth []) "123456789" --> ["123456789"] wholeMap (fixedWidth [5, 3, 6, 1]) "Hello, This is a test." --> ["Hello",", T","his is"," ","a test."]sMissingH6Helps you pick out fixed-width components from a list.Example: conv :: String -> (String,String) conv = runState $ do f3 <- grab 3 n2 <- grab 2 return $ f3 ++ "," ++ n2 main = print $ conv "TestIng"Prints: ("Tes,tI","ng")tMissingHSimilar to Data.List.elemIndex. Instead of looking for one element in a list, this function looks for the first occurance of a sublist in the list, and returns the index of the first element of that occurance. If there is no such list, returns Nothing.nIf the list to look for is the empty list, will return Just 0 regardless of the content of the list to search. Examples: subIndex "foo" "asdfoobar" -> Just 3 subIndex "foo" [] -> Nothing subIndex "" [] -> Just 0 subIndex "" "asdf" -> Just 0 subIndex "test" "asdftestbartest" -> Just 4 subIndex [(1::Int), 2] [0, 5, 3, 2, 1, 2, 4] -> Just 4uMissingHRGiven a list, returns a new list with all duplicate elements removed. For example: uniq "Mississippi" -> "Misp"pYou should not rely on this function necessarily preserving order, though the current implementation happens to.4This function is not compatible with infinite lists.,This is presently an alias for Data.List.nub[MissingHList of elements to look forMissingHList to searchMissingHResult!UVWXYZ[\]^_`abcdefghijklmnopqrstu!WXYZd[efjghikl`bac\]^_UVqrsmnoptu $Copyright (C) 2004-2011 John GoerzenBSD3%John Goerzen <jgoerzen@complete.org>  provisionalportableSafe ;<=>?CQVvMissingH@Converts a String, String Map into a string representation. See kX for more on the similar function for association lists. This implementation is simple: &strFromM = strFromAL . Data.Map.toListThis function is designed to work with Map String String objects, but may also work with other objects with simple representations. wMissingH2Converts a String into a String, String Map. See l8 for more on the similar function for association lists.This implementation is simple: $strToM = Data.Map.fromList . strToALThis function is designed to work with Map String String objects, but may work with other key/value combinations if they have simple representations. xMissingHFlips a Map. See j- for more on the similar function for lists. yMissingHReturns a list of all keys in the Map whose value matches the parameter. If the value does not occur in the Map, the empty list is returned. zMissingHPerforms a lookup, and raises an exception (with an error message prepended with the given string) if the key could not be found.vwxyzxyzwv $Copyright (C) 2005-2011 John GoerzenBSD3%John Goerzen <jgoerzen@complete.org>  provisionalportableSafe ;<=>?CQV{MissingHiPulls a Just value out of a Maybe value. If the Maybe value is Nothing, raises an exception with error. |MissingHLike {J, but lets you customize the error message raised if Nothing is supplied. {|{|$Copyright (C) 2006-2011 John GoerzenBSD3%John Goerzen <jgoerzen@complete.org>  provisionalportableSafe ;<=>?CQV9 }MissingHThe options for  and  MissingH)The base from which calculations are madeMissingH.The increment to the power for each new suffixMissingH,The first power for which suffixes are givenMissingHThe suffixes themselvesMissingHOPredefined definitions for byte measurement in groups of 1024, from 0 to 2**80 MissingHCPredefined definitions for SI measurement, from 10**-24 to 10**24. MissingHTakes a number and returns a new (quantity, suffix) combination. The space character is used as the suffix for items around 0. MissingHLike , but takes a list of numbers. The first number in the list will be evaluated for the suffix. The same suffix and scale will be used for the remaining items in the list. Please see " for an example of how this works.5It is invalid to use this function on an empty list. MissingHRender a number into a string, based on the given quantities. This is useful for displaying quantities in terms of bytes or in SI units. Give this function the }{ for the desired output, and a precision (number of digits to the right of the decimal point), and you get a string output.Here are some examples: Data.Quantity> renderNum binaryOpts 0 1048576 "1M" Data.Quantity> renderNum binaryOpts 2 10485760 "10.00M" Data.Quantity> renderNum binaryOpts 3 1048576 "1.000M" Data.Quantity> renderNum binaryOpts 3 1500000 "1.431M" Data.Quantity> renderNum binaryOpts 2 (1500 ** 3) "3.14G" Data.Quantity> renderNum siOpts 2 1024 "1.02k" Data.Quantity> renderNum siOpts 2 1048576 "1.05M" Data.Quantity> renderNum siOpts 2 0.001 "1.00m" Data.Quantity> renderNum siOpts 2 0.0001 "100.00u".If you want more control over the output, see . MissingHLike , but operates on a list of numbers. The first number in the list will be evaluated for the suffix. The same suffix and scale will be used for the remaining items in the list. See  for more examples. Also, unlike d, the %f instead of %g printf format is used so that "scientific" notation is avoided in the output. Examples: *Data.Quantity> renderNums binaryOpts 3 [1500000, 10240, 104857600] ["1.431M","0.010M","100.000M"] *Data.Quantity> renderNums binaryOpts 3 [1500, 10240, 104857600] ["1.465K","10.000K","102400.000K"]MissingH'Parses a String, possibly generated by T. Parses the suffix and applies it to the number, which is read via the Read class.KReturns Left "error message" on error, or Right number on successful parse.9If you want an Integral result, the convenience function  is for you.MissingHParse a number as with , but return the result as an SG. Any type such as Integer, Int, etc. can be used for the result type.This function simply calls T on the result of . A U= is used internally for the parsing of the numeric component.]By using this function, a user can still say something like 1.5M and get an integral result. MissingHPrecision of the resultMissingHThe number to examineMissingHPrevision of the resultMissingHThe numbers to examineMissingHResultMissingH%Information on how to parse this dataMissingH+Whether to perform a case-insensitive matchMissingHThe string to parseMissingH%Information on how to parse this dataMissingH+Whether to perform a case-insensitive matchMissingHThe string to parse}~}~$Copyright (C) 2004-2011 John GoerzenBSD3$John Goerzen <jgoerzen@complete.org> provisionalportableNone ;<=>?CQVKZMissingHRemoves any whitespace characters that are present at the start or end of a string. Does not alter the internal contents of a string. If no whitespace characters are present at the start or end of a string, returns the original string unmodified. Safe to use on any string.WNote that this may differ from some other similar functions from other authors in that: QIf multiple whitespace characters are present all in a row, they are all removed;9If no whitespace characters are present, nothing is done.MissingHSame as 2, but applies only to the left side of the string.MissingHSame as 3, but applies only to the right side of the string.MissingHaSplits a string around whitespace. Empty elements in the result list are automatically removed. MissingHEEscape all characters in the input pattern that are not alphanumeric.fDoes not make special allowances for NULL, which isn't valid in a Haskell regular expression pattern. MissingH7Attempts to parse a value from the front of the string. YZ`ab YZb`a$Copyright (C) 2004-2011 John GoerzenBSD3%John Goerzen <jgoerzen@complete.org>  provisionalportableSafe ;<=>?CQVP_MissingH,Take the first item out of a 3 element tupleMissingH-Take the second item out of a 3 element tupleMissingH,Take the third item out of a 3 element tuple$Copyright (C) 2005-2011 John GoerzenBSD3%John Goerzen <jgoerzen@complete.org>  provisionalportableSafe ;<=>?CQV_ MissingH#Main class for readable mailboxes. The mailbox object a represents zero or more )s. Each message has a unique identifier bZ in a format specific to each given mailbox. This identifier may or may not be persistent.VFunctions which return a list are encouraged -- but not guaranteed -- to do so lazily./Implementing classes must provide, at minimum, .MissingH*Returns a list of all unique identifiers. MissingH?Returns a list of all unique identifiers as well as all flags. MissingH_Returns a list of all messages, including their content, flags, and unique identifiers. MissingH-Returns information about specific messages. MissingH-A Message is represented as a simple String. MissingHConvenience shortcut MissingH.The flags which may be assigned to a message. $Copyright (C) 2004-2011 John GoerzenBSD3$John Goerzen <jgoerzen@complete.org> provisionalsystems with networkingNone ;<=>?CQVe[MissingHSets up the system for networking. Similar to the built-in withSocketsDo (and actually, calls it), but also sets the SIGPIPE handler so that signal is ignored.Example: !main = niceSocketsDo $ do { ... }$Copyright (C) 2004-2011 John GoerzenBSD3%John Goerzen <jgoerzen@complete.org>  experimentalsystems with networkingNone ;<=>?CQVK MissingHThe main handler type.)The first parameter is the socket itself.1The second is the address of the remote endpoint./The third is the address of the local endpoint.MissingHOptions for your server. MissingH6Get Default options. You can always modify it later. MissingH#Takes some options and sets up the P. I will bind and begin listening, but will not accept any connections itself. MissingHFClose the socket server. Does not terminate active handlers, if any. MissingH+Handle one incoming request from the given . MissingH,Handle all incoming requests from the given . MissingH0Convenience function to completely set up a TCP " and handle all incoming requests. This function is literally this: mserveTCPforever options func = do sockserv <- setupSocketServer options serveForever sockserv funcMissingH4Log each incoming connection using the interface in System.Log.Logger.-Log when the incoming connection disconnects.<Also, log any failures that may occur in the child handler. MissingHTHandle each incoming connection in its own thread to make the server multi-tasking.MissingH8Give your handler function a Handle instead of a Socket.The Handle will be opened with ReadWriteMode (you use one handle for both directions of the Socket). Also, it will be initialized with LineBuffering.Unlike other handlers, the handle will be closed when the function returns. Therefore, if you are doing threading, you should to it before you call this handler.MissingH Port NumberMissingHServer optionsMissingHHandler functionMissingHName of logger to useMissingHPriority of logged messagesMissingHHandler to call after loggingMissingHResulting handlerMissingH!Handler to call in the new threadMissingHResulting handlerMissingHHandler to call$Copyright (C) 2004-2011 John GoerzenBSD3$John Goerzen <jgoerzen@complete.org> provisional6portable to platforms with POSIX process\/signal toolsNone ;<=>?CQVqMissingHReturn value from , , , or c. Contains both a ProcessID and the original command that was executed. If you prefer not to use [ on the result of one of these pipe calls, you can use (processID ph), assuming ph is your , as a parameter to V. MissingHFunction that created itMissingHLike d, but returns data in lines instead of just a String. Shortcut for calling lines on the result from .%Note: this function logs as pipeFrom.Not available on Windows. MissingH/Read data from a pipe. Returns a Handle and a .;When done, you must hClose the handle, and then use either  or getProcessStatus on the !. Zombies will result otherwise.This function logs as pipeFrom.&Not available on Windows or with Hugs.MissingH4Read data from a pipe. Returns a lazy string and a .EONLY AFTER the string has been read completely, You must call either V or  on the  . Zombies will result otherwise.Not available on Windows.MissingH!Write data to a pipe. Returns a  and a new Handle to write to.;When done, you must hClose the handle, and then use either  or getProcessStatus on the !. Zombies will result otherwise.This function logs as pipeTo.Not available on Windows.MissingH+Write data to a pipe. Returns a ProcessID.You must call either V or 1 on the ProcessID. Zombies will result otherwise.Not available on Windows.MissingHLike a combination of  and ; returns a 3-tuple of ( , Data From Pipe, Data To Pipe).=When done, you must hClose both handles, and then use either  or getProcessStatus on the !. Zombies will result otherwise.lHint: you will usually need to ForkIO a thread to handle one of the Handles; otherwise, deadlock can result.This function logs as pipeBoth.Not available on Windows.MissingHLike a combination of  and e; forks an IO thread to send data to the piped program, and simultaneously returns its output stream.DThe same note about checking the return status applies here as with .Not available on Windows. MissingHUses V to obtain the exit status of the given process ID. If the process terminated normally, does nothing. Otherwise, raises an exception with an appropriate error message.<This call will block waiting for the given pid to terminate.Not available on Windows. MissingHInvokes the specified command in a subprocess, waiting for the result. If the command terminated successfully, return normally. Otherwise, raises a userError with the problem.Implemented in terms of 7 where supported, and System.Posix.rawSystem otherwise.MissingHInvokes the specified command in a subprocess, waiting for the result. Return the result status. Never raises an exception. Only available on POSIX platforms.`Like system(3), this command ignores SIGINT and SIGQUIT and blocks SIGCHLD during its execution.(Logs as System.Cmd.Utils.posixRawSystem MissingHInvokes the specified command in a subprocess, without waiting for the result. Returns the PID of the subprocess -- it is YOUR responsibility to use getProcessStatus or getAnyProcessStatus on that at some point. Failure to do so will lead to resource leakage (zombie processes).@This function does nothing with signals. That too is up to you.'Logs as System.Cmd.Utils.forkRawSystem MissingH%Open a pipe to the specified command./Passes the handle on to the specified function.The 7 specifies what you will be doing. That is, specifing  sets up a pipe from stdin, and  sets up a pipe from stdout.Not available on Windows.MissingH,Runs a command, redirecting things to pipes.Not available on Windows.vNote that you may not use the same fd on more than one item. If you want to redirect stdout and stderr, dup it first.MissingH,Runs a command, redirecting things to pipes.Not available on Windows.6Returns immediately with the PID of the child. Using  waitProcess on it is YOUR responsibility!vNote that you may not use the same fd on more than one item. If you want to redirect stdout and stderr, dup it first.MissingHSend stdin to this fdMissingHGet stdout from this fdMissingHGet stderr from this fdMissingHCommand to runMissingH Command argsMissingHAction to run in parentMissingHPAction to run in child before execing (if you don't need something, set this to  return ()) -- IGNORED IN HUGSMissingHSend stdin to this fdMissingHGet stdout from this fdMissingHGet stderr from this fdMissingHCommand to runMissingH Command argsMissingHPAction to run in child before execing (if you don't need something, set this to  return ()) -- IGNORED IN HUGS$Copyright (C) 2004-2011 John GoerzenBSD3$John Goerzen <jgoerzen@complete.org> provisionalportableNone ;<=>?CQV!MissingHDTransmits an e-mail message using the system's mail transport agent.This function takes a message, a list of recipients, and an optional sender, and transmits it using the system's MTA, sendmail.If sendmail is on the PATHR, it will be used; otherwise, a list of system default locations will be searched.3A failure will be logged, since this function uses  internally.This function will first try sendmail2. If it does not exist, an error is logged under System.Cmd.Utils.pOpen3 and various default sendmailW locations are tried. If that still fails, an error is logged and an exception raised.MissingHThe envelope from address. If not specified, takes the system's default, which is usually based on the effective userid of the current process. This is not necessarily what you want, so I recommend specifying it.MissingHBA list of recipients for your message. An empty list is an error.MissingHThe message itself.$Copyright (C) 2005-2011 John GoerzenBSD3$John Goerzen <jgoerzen@complete.org> provisionalportableSafe ;<=>?CQVMissingH1A type to standardize some common uses of GetOpt.@The first component of the tuple is the long name of the option.LThe second component is empty if there is no arg, or has the arg otherwise. MissingHSimple command line parser -- a basic wrapper around the system's default getOpt. See the System.Console.GetOpt manual for a description of the first two parameters.2The third parameter is a usage information header.ZThe return value consists of the list of parsed flags and a list of non-option arguments. MissingH Similar to , but takes an additional function that validates the post-parse command-line arguments. This is useful, for example, in situations where there are two arguments that are mutually-exclusive and only one may legitimately be given at a time.The return value of the function indicates whether or not it detected an error condition. If it returns Nothing, there is no error. If it returns Just String, there was an error, described by the String.MissingHHandle a required argument. MissingHHandle an optional argument. MissingH Name of argMissingH Name of arg$Copyright (C) 2005-2011 John GoerzenBSD3$John Goerzen <jgoerzen@complete.org> provisional6portable to platforms with POSIX process\/signal toolsNone ;<=>?CQV MissingH}Detach the process from a controlling terminal and run it in the background, handling it with standard Unix deamon semantics.;After running this, please note the following side-effects:*The PID of the running process will changeHstdin, stdout, and stderr will not work (they'll be set to /dev/null)CWD will be changed to /I highly; suggest running this function before starting any threads.BNote that this is not intended for a daemon invoked from inetd(1).$Copyright (C) 2004-2011 John GoerzenBSD3$John Goerzen <jgoerzen@complete.org> provisionalportableNone ;<=>?CQV'MissingHLThe type representing a Debian version number. This type is an instance of W, but you can also use  if you prefer. MissingHThe type representing the contents of a Debian control file, or any control-like file (such as the output from apt-cache show, etc.) MissingH&Compare the versions of two packages. MissingH Version 1MissingHOperatorMissingH Version 2$Copyright (C) 2004-2011 John GoerzenBSD3$John Goerzen <jgoerzen@complete.org> provisionalportableNone ;<=>?CQV MissingH!Main parser for the control file MissingHDependency parser.0Returns (package name, Maybe version, arch list)version is (operator, operand) $Copyright (C) 2004-2011 John GoerzenBSD3$John Goerzen <jgoerzen@complete.org> provisionalportableSafe ;<=>?CQV)MissingH^A section represents a compressed component in a GZip file. Every GZip file has at least one. MissingH+Stored on-disk at the end of each section. MissingH+The size of the original, decompressed dataMissingH9The stored GZip CRC-32 of the original, decompressed dataMissingHJWhether or not the stored CRC-32 matches the calculated CRC-32 of the dataMissingHWThe data structure representing the GZip header. This occurs at the beginning of each  on disk. MissingH2Compression method. Only 8 is defined at present.MissingH&Modification time of the original fileMissingH Extra flagsMissingHCreating operating systemMissingHCRC-32 check failedMissingHCouldn't find a GZip headerMissingH7Compressed with something other than method 8 (deflate)MissingHOther problem aroseXMissingHFirst two bytes of fileYMissingHFlagsZMissingHFlags[MissingHFlags\MissingHFlagsMissingH3Read a GZip file, decompressing all sections found.?Writes the decompressed data stream to the given output handle.Returns Nothing if the action was successful, or Just GZipError if there was a problem. If there was a problem, the data written to the output handle should be discarded. MissingH<Read a GZip file, decompressing all sections that are found.Returns a decompresed data stream and Nothing, or an unreliable string and Just (error). If you get anything other than Nothing, the String returned should be discarded. MissingHRead all sections. MissingH4Read one section, returning (ThisSection, Remainder)]MissingHWRead the file's compressed data, returning (Decompressed, Calculated CRC32, Remainder) MissingH2Read the GZip header. Return (Header, Remainder).MissingH Input handleMissingH Output handle        $Copyright (C) 2004-2011 John GoerzenBSD3$John Goerzen <jgoerzen@complete.org> provisionalportableSafe ;<=>?CQV'MissingH0The writing side of a Haskell pipe. Please see 8 for more details. MissingH0The reading side of a Haskell pipe. Please see 8 for more details. MissingHA M simulates true I/O, but uses an in-memory buffer instead of on-disk storage.8It provides a full interface like Handle (it implements  HVIOReader,  HVIOWriter, and  HVIOSeekerE). However, it maintains an in-memory buffer with the contents of the file, rather than an actual on-disk file. You can access the entire contents of this buffer at any time. This can be quite useful for testing I/O code, or for cases where existing APIs use I/O, but you prefer a String representation. You can create a  with a call to 5. The present  implementation is rather inefficient, particularly when reading towards the end of large files. It's best used for smallish data storage. This problem will be fixed eventually.MissingH&Simulate I/O based on a string buffer.When a : is created, it is initialized based on the contents of a ^V. Its contents are read lazily whenever a request is made to read something from the . It can be used, therefore, to implement filters (simply initialize it with the result from, say, a map over hGetContents from another HVIO object), codecs, and simple I/O testing. Because it is lazy, it need not hold the entire string in memory. You can create a  with a call to 4.MissingHwThis is the generic I/O support class. All objects that are to be used in the HVIO system must provide an instance of .Functions in this class provide an interface with the same specification as the similar functions in System.IO. Please refer to that documentation for a more complete specification than is provided here. Instances of  must provide ,  , and either  or .9Implementators of readable objects must provide at least ! and %. An implementation of #_ is also highly suggested, since the default cannot implement proper partial closing semantics.9Implementators of writable objects must provide at least & and +.9Implementators of seekable objects must provide at least /, -, and ,.MissingH Close a fileMissingHTest if a file is openMissingHTest if a file is closedMissingHeRaise an error if the file is not open. This is a new HVIO function and is implemented in terms of .MissingHWhether or not we're at EOF. This may raise on exception on some items, most notably write-only Handles such as stdout. In general, this is most reliable on items opened for reading. vIsEOF implementations must implicitly call vTestOpen.MissingHDetailed show output.MissingHMake an IOError.MissingHThrow an IOError.MissingHKGet the filename/object/whatever that this corresponds to. May be Nothing. MissingHThrow an isEOFError if we're at EOF; returns nothing otherwise. If an implementation overrides the default, make sure that it calls vTestOpen at some point. The default implementation is a wrapper around a call to .!MissingHRead one character"MissingH Read one line#MissingHGet the remaining contents. Please note that as a user of this function, the same partial-closing semantics as are used in the standard _ are  encouraged) from implementators, but are not required+. That means that, for instance, a ! after a #v may return some undefined result instead of the error you would normally get. You should use caution to make sure your code doesn't fall into that trap, or make sure to test your code with Handle or one of the default instances defined in this module. Also, some implementations may essentially provide a complete close after a call to #*. The bottom line: after a call to #I, you should do nothing else with the object save closing it with .ZFor implementators, you are highly encouraged to provide a correct implementation. $MissingHtIndicate whether at least one item is ready for reading. This will always be True for a great many implementations.%MissingH<Indicate whether a particular item is available for reading.&MissingHWrite one character'MissingHWrite a string(MissingH.Write a string with newline character after it)MissingH>Write a string representation of the argument, plus a newline.*MissingHFlush any output buffers. Note: implementations should assure that a vFlush is automatically performed on file close, if necessary to ensure all data sent is written.+MissingH@Indicate whether or not this particular object supports writing.,MissingHSeek to a specific location.-MissingHGet the current position..MissingHYConvenience function to reset the file pointer to the beginning of the file. A call to  vRewind h is the same as , h AbsoluteSeek 0./MissingH0Indicate whether this instance supports seeking.0MissingH-Set buffering; the default action is a no-op.1MissingH=Get buffering; the default action always returns NoBuffering.2MissingHXBinary output: write the specified number of octets from the specified buffer location.3MissingH%Binary input: read the specified number of octets from the specified buffer location, continuing to read until it either consumes that much data or EOF is encountered. Returns the number of octets actually read. EOF errors are never raised; fewer bytes than requested are returned on EOF.4MissingH Create a new  object. 5MissingH Create a new r instance. The buffer is initialized to the value passed, and the pointer is placed at the beginning of the file.-You can put things in it by using the normal '7 calls, and reset to the beginning by using the normal . call.The function is called when Q is called, and is passed the contents of the buffer at close time. You can use 6" if you don't want to do anything.2To create an empty buffer, pass the initial value "". 6MissingH+Default (no-op) memory buf close function. 7MissingH;Grab the entire contents of the buffer as a string. Unlike #r, this has no effect on the open status of the item, the EOF status, or the current position of the file pointer. 8MissingHCreate a Haskell pipe.These pipes are analogous to the Unix pipes that are available from System.Posix, but don't require Unix and work only in Haskell. When you create a pipe, you actually get two HVIO objects: a  and a . You must use the  in one thread and the 0 in another thread. Data that's written to the - will then be available for reading with the . The pipes are implemented completely with existing Haskell threading primitives, and require no special operating system support. Unlike Unix pipes, these pipes cannot be used across a fork(). Also unlike Unix pipes, these pipes are portable and interact well with Haskell threads. 4MissingHInitial contents of the 5MissingHInitial ContentsMissingH close func' !"#$%&'()*+,-./012345678' !"#$%&'()*+,-./012345678$Copyright (C) 2005-2011 John GoerzenBSD3%John Goerzen <jgoerzen@complete.org>  provisionalportableSafe ;<=>?CQVqDMissingHIThe name of the null device. NUL: on Windows, /dev/null everywhere else.`abcdefghijklmnopqrstuvwxyz{|}~DD$Copyright (C) 2004-2011 John GoerzenBSD3$John Goerzen <jgoerzen@complete.org> provisionalportableNone ;<=>?CQVʡ EMissingHGiven a list of strings, output a line containing each item, adding newlines as appropriate. The list is not expected to have newlines already.FMissingHGiven a handle, returns a list of all the lines in that handle. Thanks to lazy evaluation, this list does not have to be read all at once.Combined with E<, this can make a powerful way to develop filters. See the H# function for more on that concept.Example: Zmain = do l <- hGetLines stdin hPutStrLns stdout $ filter (startswith "1") lGMissingH This is similar to the built-in 5, but works on any handle, not just stdin and stdout.In other words: !interact = hInteract stdin stdoutHMissingHRLine-based interaction. This is similar to wrapping your interact functions with  and . This equality holds: )lineInteract = hLineInteract stdin stdoutHere's an example: -main = lineInteract (filter (startswith "1"))wThis will act as a simple version of grep -- all lines that start with 1 will be displayed; all others will be ignored.IMissingH[Line-based interaction over arbitrary handles. This is similar to wrapping hInteract with  and .'One could view this function like this: rhLineInteract finput foutput func = let newf = unlines . func . lines in hInteract finput foutput newf8Though the actual implementation is this for efficiency: lhLineInteract finput foutput func = do lines <- hGetLines finput hPutStrLns foutput (func lines)JMissingHCCopies from one handle to another in raw mode (using hGetContents).KMissingH}Copies from one handle to another in raw mode (using hGetContents). Takes a function to provide progress updates to the user.LMissingHBCopies from one handle to another in text mode (with lines). Like  hBlockCopy, this implementation is nice: .hLineCopy hin hout = hLineInteract hin hout idMMissingH Copies from  to  using lines. An alias for L over  and . NMissingH,Copies one filename to another in text mode.tPlease note that the Unix permission bits are set at a default; you may need to adjust them after the copy yourself.#This function is implemented using L internally. OMissingHSets stdin and stdout to be block-buffered. This can save a huge amount of system resources since far fewer syscalls are made, and can make programs run much faster. PMissingHSets stdin and stdout to be line-buffered. This saves resources on stdout, but not many on stdin, since it it still looking for newlines. QMissingHApplies a given function to every item in a list, and returns the new list. Unlike the system's mapM, items are evaluated lazily. KMissingH Input handleMissingH Output handleMissingHKProgress function -- the bool is always False unless this is the final call EFGHIJKLMNOPQ JKLMNEFGIHQOP-$Copyright (C) 2005-2011 John GoerzenBSD3%John Goerzen <jgoerzen@complete.org>  provisionalportableSafe ;<=>?CQV$Copyright (C) 2004 Volker WyskBSD3$John Goerzen <jgoerzen@complete.org> provisionalportableSafe ;<=>?CQVjRMissingH&Split a path in components. Repeated "/." characters don't lead to empty components. ".]" path components are removed. If the path is absolute, the first component will start with "/". "..~" components are left intact. They can't be simply removed, because the preceding component might be a symlink. In this case, realpath is probably what you need.TThe case that the path is empty, is probably an error. However, it is treated like ".*", yielding an empty path components list. Examples: ~slice_path "/" = ["/"] slice_path "/foo/bar" = ["/foo","bar"] slice_path "..//./" = [".."] slice_path "." = []See S, realpath,  realpath_s.SMissingH<Form a path from path components. This isn't the inverse of R, since S . R normalises the path.See R.TMissingH4Normalise a path. This is done by reducing repeated /! characters to one, and removing . path components. ..? path components are left intact, because of possible symlinks. T = S . RUMissingHSplit a file name in components. This are the base file name and the suffixes, which are separated by dots. If the name starts with a dot, it is regarded as part of the base name. The result is a list of file name components. The filename may be a path. In this case, everything up to the last path component will be returned as part of the base file name. The path gets normalised thereby.No empty suffixes are returned. If the file name contains several consecutive dots, they are regared as part of the preceding file name component.iConcateneting the name components and adding dots, reproduces the original name, with a normalised path: concat . intersperse "." . U ==  normalise.,Note that the last path component might be "..". Then it is not possible to deduce the refered directory's name from the path. An IO action for getting the real path is then necessary. Examples: U1 "a.b//./.foo.tar.gz" == ["a.b/.foo","tar","gz"] U' ".x..y." == [".x.", "y."] See W, slice_filename'.VMissingHThis is a variant of U . It is like Uz, except for being more efficient, and the filename must not contain any preceding path, since this case isn't considered.See U, W.WMissingHUForm file name from file name components, interspersing dots. This is the inverse of U', except for normalisation of any path. +unslice_filename = concat . intersperse "."See U.XMissingHSplit a path in directory and file name. Only in the case that the supplied path is empty, both parts are empty strings. Otherwise, "." is filled in for the corresponding part, if necessary. Unless the path is empty, concatenating the returned path and file name components with a slash in between, makes a valid path to the file. split_pathT splits off the last path component. This isn't the same as the text after the last /.+Note that the last path component might be "..". Then it is not possible to deduce the refered directory's name from the path. Then an IO action for getting the real path is necessary. Examples: split_path "/a/b/c" == ("/a/b", "c") split_path "foo" == (".", "foo") split_path "foo/bar" == ("foo", "bar") split_path "foo/.." == ("foo", "..") split_path "." == (".", ".") split_path "" == ("", "") split_path "/foo" == ("/", "foo") split_path "foo/" == (".", "foo") split_path "foo/." == (".", "foo") split_path "foo///./bar" == ("foo", "bar")See R.YMissingH!Get the directory part of a path. dir_part = fst . split_pathSee X.ZMissingH&Get the last path component of a path.  filename_part = snd . split_path Examples: ?filename_part "foo/bar" == "bar" filename_part "." == "."See X.[MissingH Inverse of X, except for normalisation./This concatenates two paths, and takes care of "."< and empty paths. When the two components are the result of  split_path, then  unsplit_pathD creates a normalised path. It is best documented by its definition: unsplit_path (".", "") = "." unsplit_path ("", ".") = "." unsplit_path (".", q) = q unsplit_path ("", q) = q unsplit_path (p, "") = p unsplit_path (p, ".") = p unsplit_path (p, q) = p ++ "/" ++ q Examples: unsplit_path ("", "") == "" unsplit_path (".", "") == "." unsplit_path (".", ".") == "." unsplit_path ("foo", ".") == "foo"See X.\MissingHSplit a file name in prefix and suffix. If there isn't any suffix in the file name, then return an empty suffix. A dot at the beginning or at the end is not regarded as introducing a suffix.The last path component is what is being split. This isn't the same as splitting the string at the last dot. For instance, if the file name doesn't contain any dot, dots in previous path component's aren't mistaken as introducing suffixes.:The path part is returned in normalised form. This means, "."' components are removed, and multiple "/"s are reduced to one.Note that there isn't any plausibility check performed on the suffix. If the file name doesn't have a suffix, but happens to contain a dot, then this dot is mistaken as introducing a suffix. Examples: split_filename "path/to/foo.bar" = ("path/to/foo","bar") split_filename "path/to/foo" = ("path/to/foo","") split_filename "/path.to/foo" = ("/path.to/foo","") split_filename "a///./x" = ("a/x","") split_filename "dir.suffix/./" = ("dir","suffix") split_filename "Photographie, Das 20. Jahrhundert (300 dpi)" = ("Photographie, Das 20", " Jahrhundert (300 dpi)")See R, 'split_filename\'']MissingH Variant of \&. This is a more efficient version of \S, for the case that you know the string is is a pure file name without any slashes.See \.^MissingH Inverse of \. Concatenate prefix and suffix, adding a dot in between, iff the suffix is not empty. The path part of the prefix is normalised.See \._MissingH5Split a path in directory, base file name and suffix.`MissingH:Form path from directory, base file name and suffix parts.aMissingH3Test a path for a specific suffix and split it off.5If the path ends with the suffix, then the result is  Just prefix, where prefix; is the normalised path without the suffix. Otherwise it's Nothing.bMissingH:Make a path absolute, using the current working directory.{This makes a relative path absolute with respect to the current working directory. An absolute path is returned unmodified.1The current working directory is determined with getCurrentDirectoryg which means that symbolic links in it are expanded and the path is normalised. This is different from pwd.cMissingHMake a path absolute.sThis makes a relative path absolute with respect to a specified directory. An absolute path is returned unmodified.dMissingHMake a path absolute.sThis makes a relative path absolute with respect to a specified directory. An absolute path is returned unmodified.CThe order of the arguments can be confusing. You should rather use c. absolute_path') is included for backwards compatibility.eMissingH Guess the ".."-component free form of a path, specified as a list of path components, by syntactically removing them, along with the preceding path components. This will produce erroneous results when the path contains symlinks. If the path contains leading ".." components, or more ".."; components than preceeding normal components, then the ".."B components can't be normalised away. In this case, the result is Nothing.fMissingH Guess the ".."T-component free, normalised form of a path. The transformation is purely syntactic. ".." path components will be removed, along with their preceding path components. This will produce erroneous results when the path contains symlinks. If the path contains leading ".." components, or more ".."; components than preceeding normal components, then the ".."B components can't be normalised away. In this case, the result is Nothing. Bguess_dotdot = fmap unslice_path . guess_dotdot_comps . slice_pathRMissingH$The path to be broken to components.MissingHList of path components.SMissingHList of path componentsMissingH7The path which consists of the supplied path componentsTMissingHPath to be normalisedMissingHPath in normalised formUMissingHPathMissingH.List of components the file name is made up ofVMissingHFile name without pathMissingH.List of components the file name is made up ofWMissingHList of file name componentsMissingH:Name of the file which consists of the supplied componentsXMissingHPath to be splitMissingHQDirectory and file name components of the path. The directory path is normalized.[MissingHDirectory and file nameMissingH2Path formed from the directory and file name parts\MissingH(Path including the file name to be splitMissingH>The normalised path with the file prefix, and the file suffix.]MissingHFilename to be splitMissingHBase name and the last suffix^MissingHFile name prefix and suffixMissingHPath_MissingH Path to splitMissingH3Directory part, base file name part and suffix part`MissingH3Directory part, base file name part and suffix partMissingH'Path consisting of dir, base and suffixaMissingHSuffix to split offMissingH Path to testMissingHPrefix without the suffix or NothingbMissingHThe path to be made absoluteMissingH Absulte pathcMissingH9The directory relative to which the path is made absoluteMissingHThe path to be made absoluteMissingH Absolute pathdMissingHThe path to be made absoluteMissingH9The directory relative to which the path is made absoluteMissingH Absolute patheMissingHList of path componentsMissingH+In case the path could be transformed, the ".."(-component free list of path components.fMissingHPath to be normalisedMissingH7In case the path could be transformed, the normalised, ".."!-component free form of the path.RSTUVWXYZ[\]^_`abcdefRSTUVWXYZ[\]^_`abcdef$Copyright (C) 2006-2011 John GoerzenBSD3$John Goerzen <jgoerzen@complete.org> provisionalportableNone ;<=>?CQVrgMissingH9Convert a wildcard to an (uncompiled) regular expression.hMissingHECheck the given name against the given pattern, being case-sensitive.NThe given pattern is forced to match the given name starting at the beginning.hMissingH'The wildcard pattern to use as the baseMissingH The filename to check against itMissingHResultghhg $Copyright (C) 2005-2011 John GoerzenBSD3%John Goerzen <jgoerzen@complete.org>  provisionalportableSafe ;<=>?CQVu'ijklmnopijklmnop!$Copyright (C) 2005-2011 John GoerzenBSD3$John Goerzen <jgoerzen@complete.org> provisionalportableSafe ;<=>?CQVw~qr}|{zyxwvuts~qr}|{zyxwvuts~"$Copyright (C) 2004-2011 John GoerzenBSD3%John Goerzen <jgoerzen@complete.org>  provisionalportableSafe ;<=>?CQVMissingH?January 1, 1970, midnight, UTC, represented as a CalendarTime. MissingHRConverts the specified CalendarTime (see System.Time) to seconds-since-epoch time.This conversion does respect the timezone specified on the input object. If you want a conversion from UTC, specify ctTZ = 0 and ctIsDST = False.When called like that, the behavior is equivolent to the GNU C function timegm(). Unlike the C library, Haskell's CalendarTime supports timezone information, so if such information is specified, it will impact the result.MissingHUConverts the specified CalendarTime (see System.Time) to seconds-since-epoch format.The input CalendarTime is assumed to be the time as given in your local timezone. All timezone and DST fields in the object are ignored.kThis behavior is equivolent to the timelocal() and mktime() functions that C programmers are accustomed to.Please note that the behavior for this function during the hour immediately before or after a DST switchover may produce a result with a different hour than you expect.MissingHDConverts the given timeDiff to the number of seconds it represents. 5Uses the same algorithm as normalizeTimeDiff in GHC. MissingHConverts an Epoch time represented with an arbitrary Real to a ClockTime. This input could be a CTime from Foreign.C.Types or an EpochTime from System.Posix.Types. MissingHConverts a ClockTime to something represented with an arbitrary Real. The result could be treated as a CTime from Foreign.C.Types or EpochTime from System.Posix.Types. The inverse of .:Fractions of a second are not preserved by this function. MissingHmRender a number of seconds as a human-readable amount. Shows the two most significant places. For instance: renderSecs 121 = "2m1s" See also ) for a function that works on a TimeDiff.MissingHLike ;, but takes a TimeDiff instead of an integer second count. $Copyright (C) 2004-2011 John GoerzenBSD3$John Goerzen <jgoerzen@complete.org> provisionalportableSafe ;<=>?CQV MissingH]Types that can open a HVIO object should be instances of this class. You need only implement . MissingHThe main HVFS class.8Default implementations of these functions are provided: -- implemented in terms of  -- implemented in terms of  -- implemented in terms of  -- implemented in terms of  -- set to call .Default implementations of all other functions will generate an isIllegalOperation error, since they are assumed to be un-implemented.%You should always provide at least a 2 call, and almost certainly several of the others.Most of these functions correspond to functions in System.Directory or System.Posix.Files. Please see detailed documentation on them there.MissingHxTrue if the file exists, regardless of what type it is. This is even True if the given path is a broken symlink. MissingH2Raise an error relating to actions on this class. MissingH5Evaluating types of files and information about them.kThis corresponds to the System.Posix.Types.FileStatus type, and indeed, that is one instance of this class.+Inplementators must, at minimum, implement  and .UDefault implementations of everything else are provided, returning reasonable values.EA default implementation of this is not currently present on Windows.MissingH?Refers to file permissions, NOT the st_mode field from stat(2) MissingH Similar to  , but for  result.MissingHEncapsulate a W result. This is required due to Haskell typing restrictions. You can get at it with: 0case encap of HVFSStatEncap x -> -- now use xMissingHvConvenience function for working with stat -- takes a stat result and a function that uses it, and returns the result.(Here is an example from the HVFS source:  vGetModificationTime fs fp = do s <- vGetFileStatus fs fp return $ epochToClockTime (withStat s vModificationTime)See  for more information.MissingH Similar to , but for the  result. MissingHError handler helper= = #$Copyright (C) 2006-2011 John GoerzenBSD3$John Goerzen <jgoerzen@complete.org> provisionalportableNone ;<=>?CQVlMissingH_Takes a pattern. Returns a list of names that match that pattern. The pattern is evaluated by System.Path.WildMatchJ. This function does not perform tilde or environment variable expansion.Filenames that begin with a dot are not included in the result set unless that component of the pattern also begins with a dot.)In MissingH, this function is defined as: glob = vGlob SystemFSMissingHLike F, but works on both the system ("real") and HVFS virtual filesystems. $$Copyright (C) 2004-2011 John GoerzenBSD3%John Goerzen <jgoerzen@complete.org>  provisionalportableNone ;<=>?CQVMissingHObtain a recursive listing of all files/directories beneath the specified directory. The traversal is depth-first and the original item is always present in the returned list.LIf the passed value is not a directory, the return value be only that value.<The "." and ".." entries are removed from the data returned.MissingHLike , but return the stat() (System.Posix.Files.FileStatus) information with them. This is an optimization if you will be statting files yourself later.The items are returned lazily.WARNING: do not change your current working directory until you have consumed all the items. Doing so could cause strange effects.FAlternatively, you may wish to pass an absolute path to this function.MissingH]Removes a file or a directory. If a directory, also removes all its child files/directories.MissingH?Provide a result similar to the command ls -l over a directory.FKnown bug: setuid bit semantics are inexact compared with standard ls.%$Copyright (C) 2004-2011 John GoerzenBSD3$John Goerzen <jgoerzen@complete.org> provisionalportableNone ;<=>?CQVMissingHSplits a pathname into a tuple representing the root of the name and the extension. The extension is considered to be all characters from the last dot after the last slash to the end. Either returned string may be empty. MissingHhMake an absolute, normalized version of a path with all double slashes, dot, and dotdot entries removed.The first parameter is the base for the absolut calculation; in many cases, it would correspond to the current working directory.nThe second parameter is the pathname to transform. If it is already absolute, the first parameter is ignored.DNothing may be returned if there's an error; for instance, too many .. entries for the given path.MissingHuLike absNormPath, but returns Nothing if the generated result is not the passed base path or a subdirectory thereof. MissingH+Creates a temporary directory for your use.OThe passed string should be a template suitable for mkstemp; that is, end with "XXXXXX".fYour string should probably start with the value returned from System.Directory.getTemporaryDirectory.3The name of the directory created will be returned.MissingH/Creates a temporary directory for your use via , runs the specified action (passing in the directory name), then removes the directory and all its contents when the action completes (or raises an exception. MissingHChanges the current working directory to the given path, executes the given I/O action, then changes back to the original directory, even if the I/O action raised an exception. MissingHRuns the given I/O action with the CWD set to the given tmp dir, removing the tmp dir and changing CWD back afterwards, even if there was an exception. MissingH-Absolute path for use with starting directoryMissingHThe path name to make absoluteMissingHResultMissingH-Absolute path for use with starting directoryMissingHThe path to make absolute  &$Copyright (C) 2004-2011 John GoerzenBSD3$John Goerzen <jgoerzen@complete.org> provisionalportableNone ;<=>?CQV" MissingH)Return value from guessing a file's type.fThe first element of the tuple gives the MIME type. It is Nothing if no suitable type could be found.The second element gives the encoding. It is Nothing if there was no particular encoding for the file, or if no encoding could be found.MissingHA mapping used to expand common suffixes into equivolent, better-parsed versions. For instance, ".tgz" would expand into ".tar.gz".MissingHhA mapping used to determine the encoding of a file. This is used, for instance, to map ".gz" to "gzip".MissingH/A mapping used to map extensions to MIME types.MissingHA mapping used to augment the # when non-strict lookups are used.MissingHURead the given mime.types file and add it to an existing object. Returns new object. MissingH4Load a mime.types file from an already-open handle. MissingHkGuess the type of a file given a filename or URL. The file is not opened; only the name is considered. MissingHcGuess the extension of a file based on its MIME type. The return value includes the leading dot./Returns Nothing if no extension could be found.In the event that multiple possible extensions are available, one of them will be picked and returned. The logic to select one of these should be considered undefined. MissingH Similar to e, but returns a list of all possible matching extensions, or the empty list if there are no matches. MissingHAdds a new type to the data structures, replacing whatever data may exist about it already. That is, it overrides existing information about the given extension, but the same type may occur more than once. MissingHDefault MIME type data to use MissingH~Read the system's default mime.types files, and add the data contained therein to the passed object, then return the new one. MissingHData to work withMissingHWhether to work on strict dataMissingH File to readMissingH New objectMissingHData to work withMissingHWhether to work on strict dataMissingHHandle to read fromMissingH New objectMissingHSource data for guessingMissingHWhether to limit to strict dataMissingHFile or URL name to considerMissingHResult of guessing (see  for details on interpreting it)MissingHSource data for guessingMissingHWhether to limit to strict dataMissingHMIME type to considerMissingH3Result of guessing, or Nothing if no match possibleMissingHSource data for guessingMissingHWhether to limit to strict dataMissingHMIME type to considerMissingHResult of guessingMissingH Source dataMissingH!Whether to add to strict data setMissingHMIME type to addMissingHExtension to addMissingHResult of addition'$Copyright (C) 2004-2011 John GoerzenBSD3$John Goerzen <jgoerzen@complete.org> provisionalportableNone ;<=>?CQV5] MissingHhAn in-memory read/write filesystem. Think of it as a dynamically resizable ramdisk written in Haskell. MissingH(The content of a file or directory in a . MissingHThe basic node of a J. The String corresponds to the filename, and the entry to the contents. MissingH A simple System.IO.HVFS.HVFSStatE class that assumes that everything is either a file or a directory. MissingH True if file, False if directoryMissingH"Set to 0 if unknown or a directoryMissingH Create a new L object from an existing tree. An empty filesystem may be created by using [] for the parameter.MissingH Create a new , object using an IORef to an existing tree.MissingH Similar to %. but the first element won't be /. <nice_slice "/" -> [] nice_slice "/foo/bar" -> ["foo", "bar"]MissingH.Gets a full path, after investigating the cwd.MissingHGets the full path via , then splits it via .MissingH7Find an element on the tree, assuming a normalized pathMissingH7Find an element on the tree, normalizing the path first($Copyright (C) 2004-2011 John GoerzenBSD3$John Goerzen <jgoerzen@complete.org> provisionalportableNone ;<=>?CQVBMissingHUAccess a subdirectory of a real filesystem as if it was the root of that filesystem. MissingHvRestrict access to the underlying filesystem to be strictly read-only. Any write-type operations will cause an error.%No constructor is required; just say HVFSReadOnly fs, to make a new read-only wrapper around the  instance fs.MissingH Create a new  object. MissingHGet the embedded object MissingH.Convert a local (chroot) path to a full path. MissingH.Convert a full path to a local (chroot) path. .Convert a local (chroot) path to a full path. MissingH!The object to pass requests on toMissingH&The path of the directory to make rootMissingHThe resulting new object)$Copyright (C) 2004-2011 John GoerzenBSD3$John Goerzen <jgoerzen@complete.org> provisional,portable to platforms supporting binary I\/ONone ;<=>?CQVwMissingHBProvides support for handling binary blocks with convenient types.TThis module provides implementations for Strings and for [Word8] (lists of Word8s). MissingH*As a wrapper around the standard function ), this function takes a standard Haskell ^$ instead of the far less convenient Ptr aN. The entire contents of the string will be written as a binary buffer using L. The length of the output will be the length of the passed String or list.=If it helps, you can thing of this function as being of type Handle -> String -> IO () MissingH An alias for   MissingH,Acts a wrapper around the standard function , this function returns a standard Haskell String (or [Word8]) instead of modifying a 'Ptr a' buffer. The length is the maximum length to read and the semantice are the same as with z; namely, the empty string is returned with EOF is reached, and any given read may read fewer bytes than the given length.!(Actually, it's a wrapper around 3)  MissingH An alias for    MissingHLike  l, but guarantees that it will only return fewer than the requested number of bytes when EOF is encountered.  MissingH An alias for   MissingHGWrites the list of blocks to the given file handle -- a wrapper around .Think of this function as: Handle -> [String] -> IO ()(You can use it that way)  MissingH An alias for  T putBlocks :: (BinaryConvertible b) => [[b]] -> IO () putBlocks = hPutBlocks stdout LReturns a lazily-evaluated list of all blocks in the input file, as read by  N. There will be no 0-length block in this list. The list simply ends at EOF. MissingH An alias for   MissingHSame as   , but using   underneath. MissingH An alias for  MissingHBinary block-based interaction. This is useful for scenarios that take binary blocks, manipulate them in some way, and then write them out. Take a look at _ for an example. The integer argument is the size of input binary blocks. This function uses   internally.MissingH An alias for  over  and MissingHSame as  , but uses  instead of   internally. MissingH An alias for  over  and MissingHCopies everything from the input handle to the output handle using binary blocks of the given size. This was once the following beautiful implementation: 6hBlockCopy bs hin hout = hBlockInteract bs hin hout id(L is the built-in Haskell function that just returns whatever is given to it)In more recent versions of MissingH, it uses a more optimized routine that avoids ever having to convert the binary buffer at all.MissingH Copies from  to 5 using binary blocks of the given size. An alias for  over  and MissingH.Copies one filename to another in binary mode.nPlease note that the Unix permission bits on the output file cannot be set due to a limitation of the Haskell Q function. Therefore, you may need to adjust those bits after the copy yourself.#This function is implemented using  internally. MissingHLike the built-in 5, but opens the file in binary instead of text mode. MissingHSame as , but works with HVFS objects. MissingHLike the built-in 5, but opens the file in binary instead of text mode. MissingHLike , but works on HVFS objects.           *$Copyright (C) 2006-2011 John GoerzenBSD3%John Goerzen <jgoerzen@complete.org>  provisionalportableSafe ;<=>?CQVMissingHLets you examine the $ that is contained within a ' object. You can simply pass a  object and a function to  , and  will lock the  object (blocking any modifications while you are reading it), then pass the object to your function. If you happen to already have a e object, withStatus will also accept it and simply pass it unmodified to the function. MissingHThe main Progress object. MissingH!The main progress status record. $MissingHAn identifying string&MissingHZThe type for a callback function for the progress tracker. When given at creation time to 'newProgress\'' or when added via *J, these functions get called every time the status of the tracker changes.This function is passed two q records: the first reflects the status prior to the update, and the second reflects the status after the update.Please note that the owning n object will be locked while the callback is running, so the callback will not be able to make changes to it. 'MissingHGA function that, when called, yields the current time. The default is 6. (MissingH Create a new > object with the given name and number of total units initialized as given. The start time will be initialized with the current time at the present moment according to the system clock. The units completed will be set to 0, the time source will be set to the system clock, and the parents and callbacks will be empty.If you need more control, see 'newProgress\''.Example: $prog <- newProgress "mytracker" 1024)MissingH Create a new O object initialized with the given status and callbacks. No adjustment to the #H will be made. If you want to use the system clock, you can initialize # with the return value of 6 and also pass 6 as the timing source. *MissingH$Adds an new callback to an existing f. The callback will be called whenever the object's status is updated, except by the call to finishP.Please note that the Progress object will be locked while the callback is running, so the callback will not be able to make any modifications to it.+MissingH!Adds a new parent to an existing . The parent will automatically have its completed and total counters incremented by the value of those counters in the existing . ,MissingHyCall this when you are finished with the object. It is especially important to do this when parent objects are involved.This will simply set the totalUnits to the current completedUnits count, but will not call the callbacks. It will additionally propogate any adjustment in totalUnits to the parents, whose callbacks will be called.This ensures that the total expected counts on the parent are always correct. Without doing this, if, say, a transfer ended earlier than expected, ETA values on the parent would be off since it would be expecting more data than actually arrived. -MissingH*Increment the completed unit count in the  object by the amount given. If the value as given exceeds the total, then the total will also be raised to match this value so that the completed count never exceeds the total.OYou can decrease the completed unit count by supplying a negative number here. .MissingHLike -, but never modify the total. /MissingH$Set the completed unit count in the ( object to the specified value. Unlike -, this function sets the count to a specific value, rather than adding to the existing value. If this value exceeds the total, then the total will also be raised to match this value so that the completed count never exceeds teh total. 0MissingHLike /, but never modify the total. 1MissingH&Increment the total unit count in the  object by the amount given. This would rarely be needed, but could be needed in some special cases when the total number of units is not known in advance. 2MissingH Set the total unit count in the & object to the specified value. Like 1, this would rarely be needed. 3MissingHReturns the speed in units processed per time unit. (If you are using the default time source, this would be units processed per second). This obtains the current speed solely from analyzing the  object.&If no time has elapsed yet, returns 0."You can use this against either a  object or a Q object. This is in the IO monad because the speed is based on the current time.Example: getSpeed progressobj >>= printhDon't let the type of this function confuse you. It is a fancy way of saying that it can take either a  or a j object, and returns a number that is valid as any Fractional type, such as a Double, Float, or Rational. 4MissingH>Returns the estimated time remaining, in standard time units. Returns 0 whenever 3 would return 0.See the comments under 38 for information about this function's type and result. 5MissingHrReturns the estimated system clock time of completion, in standard time units. Returns the current time whenever 4 would return 0.See the comments under 38 for information about this function's type and result. 6MissingH<The default time source for the system. This is defined as: ,getClockTime >>= (return . clockTimeToEpoch)(MissingHName of this trackerMissingHTotal units expected+MissingHThe child objectMissingHThe parent to add to this child !"#$%&'()*+,-./0123456()*+-./012,345 !"#$%'&6+$Copyright (C) 2006-2011 John GoerzenBSD3$John Goerzen <jgoerzen@complete.org> provisionalportableNone ;<=>?CQVMissingH+The main data type for the progress meter. MissingH The master  object for overall statusMissingHIndividual component statusesMissingHWidth of the meterMissingHUnits of displayMissingHFunction to render numbers MissingHAuto-updating display;MissingH'Set up a new status bar using defaults:The given trackerWidth 80%Data.Quantity.renderNums binaryOpts 1Unit inticator B<MissingHSet up a new status bar. =MissingH&Adjust the list of components of this :. >MissingH/Add a new component to the list of components. ?MissingHRemove a component by name. @MissingHAdjusts the width of this :. AMissingHFLike renderMeter, but prints it to the screen instead of returning it.-This function will output CR, then the meter.=Pass stdout as the handle for regular display to the screen. BMissingHOClears the meter -- outputs CR, spaces equal to the width - 1, then another CR.=Pass stdout as the handle for regular display to the screen. CMissingHxClears the meter, writes the given string, then restores the meter. The string is assumed to contain a trailing newline.=Pass stdout as the handle for regular display to the screen. DMissingHaStarts a thread that updates the meter every n seconds by calling the specified function. Note: displayMeter stdout is an ideal function here.,Save this threadID and use it later to call stopAutoDisplayMeter.EMissingH*Stops the specified meter from displaying.You should probably call B after a call to this. FMissingHRender the current status. <MissingHThe top-level MissingHUnit indicator stringMissingH#Width of the terminal -- usually 80MissingHA function to render sizesDMissingHThe meter to displayMissingHUpdate interval in secondsMissingHFunction to display itMissingHResulting thread id :;<=>?@ABCDEF :;<=>?@FABCDE,$Copyright (C) 2004-2011 John GoerzenBSD3%John Goerzen <jgoerzen@complete.org>  provisionalportableSafe ;<=>?CQVIMissingHGenerate (return) a H. JMissingHRetrieve the next token from a H` stream. The given function should return the value to use, or Nothing to cause an error. KMissingHA shortcut to Jy; the test here is just a function that returns a Bool. If the result is true; return that value -- otherwise, an error.LMissingH+Matches one item in a list and returns it. MMissingH#Matches all items and returns them NMissingH/Matches one item not in a list and returns it. OMissingH+Matches one specific token and returns it. PMissingHRunning notMatching p msg will try to apply parser p. If it fails, returns (). If it succeds, cause a failure and raise the given error message. It will not consume input in either case. GHIJKLMNOP HGIJKLNOMP /01/02/03/04/05/06/07/08/9:/;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdef g h i j k k l l m m n n o p q r s t u v w x o y z { | } ~    /       !"#$%&'()*+,-./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/no/pq/rs/rtuvwxyzu{|}~///0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx//p/p//&''(((//)///)/)+++++++'MissingH-1.4.1.0-EDpBmclmCP9E3LgEQP0CMNSystem.IO.HVFSControl.Concurrent.Thread.UtilsData.BinPackingData.Bits.UtilsData.CSVData.Compression.InflateData.Either.UtilsData.Hash.CRC32.GZip Data.Hash.MD5Data.Hash.MD5.Zord64_HARDData.List.UtilsData.Map.UtilsData.Maybe.Utils Data.QuantityData.String.UtilsData.Tuple.UtilsNetwork.Email.Mailbox Network.UtilsNetwork.SocketServerSystem.Cmd.UtilsNetwork.Email.SendmailSystem.Console.GetOpt.Utils System.Daemon System.DebianSystem.Debian.ControlParserSystem.FileArchive.GZipSystem.IO.HVIOSystem.IO.PlafCompatSystem.IO.UtilsSystem.Path.NameManipSystem.Path.WildMatchSystem.Posix.ConstsSystem.IO.StatCompatSystem.Time.UtilsSystem.Path.GlobSystem.IO.HVFS.Utils System.PathData.MIME.TypesSystem.IO.HVFS.InstanceHelpersSystem.IO.HVFS.CombinatorsSystem.IO.BinaryData.Progress.TrackerData.Progress.Meter#Text.ParserCombinators.Parsec.UtilsSystem.IO.WindowsCompat NameManipbaseSystem.Posix.Types LinkCountUserIDGroupID EpochTimeDeviceIDFileIDFileMode FileOffsetGHC.IOFilePath GHC.IO.IOModeIOMode runInThread BinPackerBinPackerError BPTooFewBinsBPSizeTooLargeBPOther packByOrderpackLargeFirst$fErrorBinPackerError$fShowBinPackerError$fEqBinPackerError$fReadBinPackerErrorgetBytes fromBytesc2w8s2w8w82cw82scsvFile genCsvFileBitOutputinflate_stringinflate_string_remainderbits_to_word32inflate $fShowBit $fFunctorInfM$fApplicativeInfM $fMonadInfM$fEqBit maybeToEither forceEitherforceEitherMsgeitherToMonadErrorfromLeft fromRight fromEither update_crcupdate_crc_list calc_crc32 gzipcrctabMD5get_nextlen_padfinishedWordListBoolListStrABCDZord64md5md5smd5i $fNumABCD $fMD5WordList$fMD5Str $fMD5BoolList$fEqABCD $fShowABCD $fEnumZord64 $fRealZord64$fIntegralZord64 $fBitsZord64 $fNumZord64 $fReadZord64 $fShowZord64 $fEqZord64 $fOrdZord64$fBoundedZord64 WholeFuncmergemergeBy startswithendswithhasAny takeWhileList dropWhileListspanList breakListsplitreplacejoin genericJoincontainsaddToAL delFromALkeysALvaluesALhasKeyALflipAL strFromALstrToAL countElem elemRIndexalwaysElemRIndexseqListwholeMap fixedWidthgrabsubIndexuniqstrFromMstrToMflipMflippedLookupM forceLookupM forceMaybe forceMaybeMsgSizeOpts powerIncr firstPowersuffixes binaryOptssiOpts quantifyNum quantifyNums renderNum renderNumsparseNum parseNumIntstriplstriprstripsplitWsescapeRe maybeReadfst3snd3thd3 MailboxWriterappendMessagesdeleteMessagesaddFlags removeFlagssetFlags MailboxReaderlistIDslistMessageFlagsgetAll getMessagesMessageFlagsFlagSEENANSWEREDFLAGGEDDELETEDDRAFT FORWARDED OTHERFLAG$fEqFlag $fShowFlag niceSocketsDo connectTCPconnectTCPAddr listenTCPAddr showSockAddr SocketServer optionsSSsockSSHandlerTInetServerOptionslistenQueueSize portNumber interfacereusefamilysockTypeprotoStrsimpleTCPOptionssetupSocketServercloseSocketServer handleOne serveForeverserveTCPforeverloggingHandlerthreadedHandler handleHandler$fEqInetServerOptions$fShowInetServerOptions$fEqSocketServer$fShowSocketServer PipeHandle processID phCommandphArgs phCreatorPipeMode ReadFromPipe WriteToPipe pipeLinesFrom hPipeFrompipeFromhPipeTopipeTo hPipeBothpipeBoth forceSuccess safeSystemposixRawSystem forkRawSystempOpenpOpen3 pOpen3Raw$fEqPipeHandle$fShowPipeHandlesendmail StdOption parseCmdLinevalidateCmdLine stdRequired stdOptional detachDaemon DebVersion ControlFilecompareDebVersioncheckDebVersion$fOrdDebVersion$fEqDebVersioncontroldepPartSectionFootersizecrc32 crc32validHeadermethodflagsextrafilenamecommentmtimexflos GZipErrorCRCError NotGZIPFile UnknownMethod UnknownError hDecompress decompress read_sections read_section read_header$fErrorGZipError $fEqGZipError$fShowGZipError $fEqHeader $fShowHeader PipeWriter PipeReader MemoryBuffer StreamReaderHVIOvClosevIsOpen vIsClosed vTestOpenvIsEOFvShow vMkIOErrorvThrowvGetFPvTestEOFvGetCharvGetLine vGetContentsvReady vIsReadablevPutCharvPutStr vPutStrLnvPrintvFlush vIsWritablevSeekvTellvRewind vIsSeekable vSetBuffering vGetBufferingvPutBufvGetBufnewStreamReadernewMemoryBuffermbDefaultCloseFuncgetMemoryBuffer newHVIOPipe $fHVIOHandle$fHVIOStreamReader$fShowStreamReader$fHVIOMemoryBuffer$fShowMemoryBuffer$fHVIOPipeReader$fShowPipeReader$fHVIOPipeWriter$fShowPipeWriter $fEqPipeBit $fShowPipeBit nullFileName hPutStrLns hGetLines hInteract lineInteract hLineInteracthCopy hCopyProgress hLineCopylineCopycopyFileLinesToFileoptimizeForBatchoptimizeForInteractionlazyMapM slice_path unslice_pathnormalise_pathslice_filenameslice_filename'unslice_filename split_pathdir_part filename_part unsplit_pathsplit_filenamesplit_filename'unsplit_filenamesplit3unsplit3 test_suffix absolute_pathabsolute_path_byabsolute_path'guess_dotdot_comps guess_dotdot wildToRegex wildCheckCaseblockSpecialModecharacterSpecialMode namedPipeModeregularFileMode directoryMode fileTypeModes socketModesymbolicLinkModeFileStatusCompatdeviceIDfileIDfileMode linkCount fileOwner fileGroupspecialDeviceIDfileSize accessTimemodificationTimestatusChangeTime sc_helper isBlockDeviceisCharacterDevice isNamedPipe isRegularFile isDirectoryisSymbolicLinkisSocketepochtimegm timelocaltimeDiffToSecsepochToClockTimeclockTimeToEpoch renderSecsrenderTDSystemFS HVFSOpenablevOpen vReadFile vWriteFilevOpenBinaryFileHVFSvGetCurrentDirectoryvSetCurrentDirectoryvGetDirectoryContentsvDoesFileExistvDoesDirectoryExist vDoesExistvCreateDirectoryvRemoveDirectoryvRenameDirectory vRemoveFile vRenameFilevGetFileStatusvGetSymbolicLinkStatusvGetModificationTime vRaiseErrorvCreateSymbolicLinkvReadSymbolicLink vCreateLinkHVFSStat vDeviceIDvFileID vFileMode vLinkCount vFileOwner vFileGroupvSpecialDeviceID vFileSize vAccessTimevModificationTimevStatusChangeTimevIsBlockDevicevIsCharacterDevice vIsNamedPipevIsRegularFile vIsDirectoryvIsSymbolicLink vIsSocket HVFSOpenEncap HVFSStatEncapwithStatwithOpen$fShowFileStatus$fHVFSStatFileStatus$fHVFSOpenableSystemFS$fHVFSSystemFS $fEqSystemFS$fShowSystemFSglobvGlob recurseDirrecurseDirStatrecursiveRemovelslsplitExt absNormPathsecureAbsNormPathmktmpdir brackettmpdir bracketCWDbrackettmpdirCWD MIMEResults MIMETypeData suffixMap encodingsMaptypesMapcommonTypesMap readMIMETypeshReadMIMETypes guessTypeguessExtensionguessAllExtensions defaultmtdreadSystemMIMETypes MemoryVFS MemoryEntryMemoryDirectory MemoryFile MemoryNode SimpleStatisFile newMemoryVFSnewMemoryVFSRef nice_slice getFullPath getFullSlice$fHVFSStatSimpleStat$fHVFSOpenableMemoryVFS$fHVFSMemoryVFS$fShowMemoryVFS$fShowSimpleStat$fEqSimpleStat$fEqMemoryEntry$fShowMemoryEntry HVFSChroot HVFSReadOnly newHVFSChroot$fHVFSOpenableHVFSReadOnly$fHVFSHVFSReadOnly$fHVFSOpenableHVFSChroot$fHVFSHVFSChroot$fEqHVFSReadOnly$fShowHVFSReadOnly$fEqHVFSChroot$fShowHVFSChrootBinaryConvertibletoBuffromBuf hPutBufStr putBufStr hGetBufStr getBufStrhFullGetBufStr fullGetBufStr hGetBlocks getBlockshFullGetBlocks fullGetBlockshBlockInteract blockInteracthFullBlockInteractfullBlockInteract hBlockCopy blockCopycopyFileBlocksToFilereadBinaryFilewriteBinaryFile$fBinaryConvertibleWord8$fBinaryConvertibleCharProgressStatuses withStatusProgressProgressStatuscompletedUnits totalUnits startTime trackerName timeSourceProgressCallbackProgressTimeSource newProgress newProgress' addCallback addParentfinishPincrPincrP'setPsetP' incrTotalsetTotalgetSpeedgetETRgetETAdefaultTimeSource!$fProgressStatusesProgressStatusb$fProgressStatusesProgressIO$fProgressRecordsProgressIO ProgressMetersimpleNewMeternewMeter setComponents addComponentremoveComponentsetWidth displayMeter clearMeterwriteMeterStringautoDisplayMeterkillAutoDisplayMeter renderMeterGeneralizedTokenParserGeneralizedTokentogtoktokengsatisfygoneOfgallgnoneOfg specificg notMatchingGHC.Showshow Data.OldList isInfixOfGHC.RealIntegralroundghc-prim GHC.TypesDouble unix-2.7.2.2System.Posix.Process.CommongetProcessStatus GHC.ClassesOrdmagicfFHCRCfFEXTRAfFNAME fFCOMMENT read_dataGHC.BaseStringGHC.IO.Handle.Text hGetContentsCDevCInoCModeCOffCPidCSsizeCGidCNlinkCUidCCcCSpeedCTcflagCRLimCBlkSizeCBlkCntCClockId CFsBlkCnt CFsFilCntCIdCKeyCTimerFd ByteCount ClockTick ProcessIDProcessGroupIDLimitSystem.Posix.Files getPathVar setFileSizetouchSymbolicLink touchFilesetSymbolicLinkTimesHiRessetFileTimesHiRes setFileTimessetSymbolicLinkOwnerAndGroupsetOwnerAndGrouprenamereadSymbolicLinkcreateSymbolicLink removeLink createLink createDevicecreateNamedPipegetSymbolicLinkStatus getFileStatus fileExist fileAccess setFileModeSystem.Posix.Files.Common getFdPathVar setFdSizesetFdOwnerAndGrouptouchFdsetFdTimesHiRes getFdStatusstatusChangeTimeHiResmodificationTimeHiResaccessTimeHiRessetFileCreationMask setFdModeintersectFileModesunionFileModes accessModes otherModes groupModes ownerModes stdFileModesetGroupIDMode setUserIDModeotherExecuteModeotherWriteMode otherReadModegroupExecuteModegroupWriteMode groupReadModeownerExecuteModeownerWriteMode ownerReadMode nullFileMode FileStatusPathVar FileSizeBits LinkLimitInputLineLimitInputQueueLimit FileNameLimit PathNameLimitPipeBufferLimitSymbolicLinkLimitSetOwnerAndGroupIsRestrictedFileNamesAreNotTruncated VDisableCharAsyncIOAvailablePrioIOAvailableSyncIOAvailable System.IOinteractlinesunlinesGHC.IO.Handle.FDstdinstdoutehaddType findMelemgetMelemdchdch2fpfp2dchhPutBufhGetBuf hPutBlocksidopenBinaryFilereadFilevReadBinaryFile writeFilevWriteBinaryFileProgressMeterRmasterP componentswidthunitrendererautoDisplayers