Meta tags:
Headings (most frequently used words):
documentation,
Text of the page (most frequently used words):
path (223), string (142), source (139), filepath (105), file (91), relfile (90), system (84), posix (68), txt (68), filedir (66), tmp (64), absdir (63), absrel (53), type (50), dirpath (47), the (42), abspath (42), relpath (34), reldir (34), absfile (33), windows (31), maybe (27), dir (27), bool (26), use (25), deprecated (22), instead (22), tostring (21), somedir (20), absrelpath (16), filedirpath (16), addextension (14), myfile (14), splitextension (14), char (14), directory (12), for (12), fred (12), this (10), extension (10), fileordir (10), bib (10), anotherdir (10), emptyfile (9), rel (9), ext (9), bob (9), forallabsrel (8), not (8), absolute (8), adir (8), makeabsolute (8), relative (8), default (8), either (8), mkpathabsorrel (8), isabsolute (8), replaceextension (8), abs (8), genericaddextension (7), takefilename (7), makerelative (7), takeextension (6), function (6), left (6), genericmakeabsolute (6), combine (6), foo (6), supplied (6), and (6), isrelative (6), absorrel (6), with (5), already (5), uncurry (5), takebasename (5), hasextension (5), base (5), character (5), hasanextension (4), convert (4), when (4), name (4), from (4), map (4), components (4), into (4), one (4), true (4), mkabspath (4), idfile (4), joinpath (4), error (4), splitpath (4), ar2 (4), get (4), all (4), tar (4), extensions (4), boris (4), absrelfiledir (4), relfiledir (4), absfiledir (4), absreldir (4), absrelfile (4), extseparator (4), more (3), variant (3), which (3), directories (3), given (3), filename (3), have (3), returns (3), nothing (3), pathmap (3), case (3), makeabsolutefromcwd (3), that (3), dynamicmakeabsolutefromcwd (3), dynamicmakeabsolute (3), issuffixof (3), takedirname (3), splitdirname (3), etc (3), currentdir (3), takedirectory (3), splitfilename (3), takeextensions (3), dropextensions (3), splitextensions (3), mycode (3), dropextension (3), normalise (3), parse (3), parsepath (3), maybepath (3), equalfilepath (3), largely (3), compatibility (3), addtrailingpathseparator (3), hastrailingpathseparator (3), isextseparator (3), issearchpathseparator (3), searchpathseparator (3), droptrailingpathseparator (3), generictakeextensions (2), generictakeextension (2), genericsplitextensions (2), genericsplitextension (2), genericdropextensions (2), genericdropextension (2), flexible (2), can (2), files (2), does (2), fromabsrel (2), toabsrel (2), dirfromfiledir (2), filefromfiledir (2), fromfiledir (2), tofiledir (2), empty (2), purpose (2), intermediate (2), step (2), deriving (2), filefromdir (2), corresponding (2), disk (2), object (2), dirfromfile (2), reports (2), spreadsheets (2), but (2), may (2), unchanged (2), genericmakeabsolutefromcwd (2), you (2), should (2), avoid (2), because (2), current (2), makerelativemaybe (2), functor (2), mapfilenamef (2), mapfilename (2), tomaybe (2), isdrive (2), takesuperdirectory (2), interpreting (2), necessary (2), mkabspathfromcwd (2), appropriate (2), don (2), mkpathfileordir (2), right (2), constructs (2), iddir (2), idfiledir (2), idrel (2), idabs (2), idabsrel (2), synonym (2), getpathstring (2), withfiledir (2), withabsrel (2), infixl (2), part (2), isvalid (2), unchecked (2), just (2), mydir (2), new (2), ar1 (2), replacedirectory (2), replacebasename (2), dropfilename (2), replacefilename (2), split (2), bak (2), add (2), there (2), bat (2), infix (2), bashrc (2), used (2), construct (2), jim (2), testall (2), rootdir (2), isrelativestring (2), isabsolutestring (2), asdirpath (2), asfilepath (2), asabspath (2), asrelpath (2), asabsdir (2), asabsfile (2), asreldir (2), asrelfile (2), aspath (2), ispathseparator (2), pathseparators (2), pathseparator (2), safe (2), produced, version, haddock, work, null, obviously, won, change, accordingly, tolower, over, functions, then, absolutize, was, absolutized, converts, prepending, working, fmap, cwd, searches, neither, exists, returned, let, depend, content, choose, according, needed, examines, intended, unqualified, test, whether, invariant, return, iff, arg, check, internal, integrity, data, structure, list, contain, separators, deconstructs, its, join, form, basename, component, stripping, parent, dirs, drop, even, fst, remove, last, preceding, only, allow, added, vastly, common, attempt, will, often, than, represent, however, want, prevent, operation, provide, set, overwriting, present, snd, otherwise, inverse, infixr, removing, front, runtime, doesn, start, isprefixof, joins, currently, transforms, separator, separate, entries, environment, variable, documentation, synopsis, haskell98, language, none, haskell, index, contents, pathtype, replacement,
Text of the page (random words):
tem filepath addtrailingpathseparator instead this is largely for filepath compatibility equalfilepath string string bool source deprecated use system filepath equalfilepath instead type path path system source type absfile absfile system source type relfile relfile system source type absdir absdir system source type reldir reldir system source type abs fd abs system fd source type rel fd rel system fd source type dir ar dir system ar source type absrelfile absrelfile system source type absreldir absreldir system source type absfiledir absfiledir system source type relfiledir relfiledir system source type absrel fd absrel system fd source type filedir ar filedir system ar source type absrelfiledir absrelfiledir system source type abspath fd abspath system fd source type relpath fd relpath system fd source type dirpath ar dirpath system ar source type absrelpath fd absrelpath system fd source type filedirpath ar filedirpath system ar source aspath absorrel ar fileordir fd string path ar fd source deprecated use maybepath parsepath or path instead asrelfile string relfile source deprecated use relfile instead asreldir string reldir source deprecated use reldir instead asabsfile string absfile source deprecated use absfile instead asabsdir string absdir source deprecated use absdir instead asrelpath fileordir fd string relpath fd source deprecated use relpath instead asabspath fileordir fd string abspath fd source deprecated use abspath instead asfilepath absorrel ar string filepath ar source deprecated use filepath instead asdirpath absorrel ar string dirpath ar source deprecated use dirpath instead isabsolutestring string bool source deprecated use system filepath isabsolute instead isrelativestring string bool source deprecated use system filepath isrelative instead maybepath absrel ar filedir fd string maybe path ar fd source deprecated use path maybe instead parse absrel ar filedir fd string either string path ar fd source parsepath absrel ar filedir fd string either string path ar fd source deprecated use path parse instead relfile string relfile source reldir string reldir source absfile string absfile source absdir string absdir source rel filedir fd string rel fd source absrel filedir fd string absrel fd source file absrel ar string file ar source dir absrel ar string dir ar source filedir absrel ar string filedir ar source relpath filedir fd string relpath fd source abspath filedir fd string abspath fd source filepath absrel ar string filepath ar source dirpath absrel ar string dirpath ar source rootdir absdir source currentdir reldir source emptyfile relfile source tostring absrel ar filedir fd path ar fd string source testall string t source normalise system os path os ar fd path os ar fd source currently just transforms path normalise absfile tmp fred jim file posix absfile tmp fred jim file makeabsolute system os absdir os relpath os fd abspath os fd source joins an absolute directory with a relative path to construct a new absolute path path makeabsolute absdir tmp relfile file txt posix absfile tmp file txt path makeabsolute absdir tmp relfile adir file txt posix absfile tmp adir file txt path makeabsolute absdir tmp reldir adir dir posix absdir tmp adir dir base p default tostring p issuffixof path tostring path makeabsolute base path idfile p base p default tostring base isprefixof path tostring path makeabsolute base path idfile p makerelative system os filedir fd absdir os abspath os fd relpath os fd source this function can be used to construct a relative path by removing the supplied absdir from the front it is a runtime error if the supplied abspath doesn t start with the absdir path makerelative absdir tmp somedir absfile tmp somedir anotherdir file txt posix relfile anotherdir file txt path makerelative absdir tmp somedir absdir tmp somedir anotherdir dir posix reldir anotherdir dir path makerelative absdir c tmp somedir absfile c tmp somedir anotherdir file txt windows relfile anotherdir file txt path makerelative absdir c tmp somedir absdir c tmp somedir anotherdir dir windows reldir anotherdir dir path makerelative absdir c tmp somedir absdir c tmp somedir anotherdir dir windows reldir anotherdir dir dirpath os ar relpath os fd path os ar fd infixr 5 source infix variant of combine posix tostring posix absdir tmp posix relfile file txt tmp file txt posix tostring posix absdir tmp posix reldir dir posix relfile file txt tmp dir file txt posix tostring posix reldir dir posix relfile file txt dir file txt windows tostring windows absdir tmp windows relfile file txt tmp file txt windows tostring windows absdir c tmp windows relfile file txt c tmp file txt windows tostring windows absdir c tmp windows relfile file txt c tmp file txt windows tostring windows absdir c windows reldir tmp windows relfile file txt c tmp file txt windows tostring windows absdir c windows reldir tmp windows relfile file txt c tmp file txt windows tostring windows reldir dir windows relfile file txt dir file txt splitextension filepath os ar filepath os ar string source split on the extension addextension is the inverse forallabsrel x uncurry path splitextension x x forallabsrel x uncurry path addextension path splitextension x x path splitextension relfile file txt posix relfile file txt path splitextension relfile bashrc posix emptyfile bashrc path splitextension relfile file posix relfile file path splitextension relfile file file txt posix relfile file file txt path splitextension relfile file txt boris posix relfile file txt boris path splitextension relfile file txt boris ext posix relfile file txt boris ext path splitextension relfile file path txt bob fred posix relfile file path txt bob fred takeextension filepath os ar string source get the extension of a file returns for no extension ext otherwise forallabsrel x path takeextension x snd path splitextension x forallabsrel x path takeextension path addextension x ext ext forallabsrel x path takeextension path replaceextension x ext ext replaceextension filepath os ar string filepath os ar source set the extension of a file overwriting one if already present path replaceextension relfile file txt bob posix relfile file bob path replaceextension relfile file txt bob posix relfile file bob path replaceextension relfile file bob posix relfile file bob path replaceextension relfile file txt posix relfile file path replaceextension relfile file fred bob txt posix relfile file fred txt filepath os ar string filepath os ar infixl 7 source infix variant of addextension we only allow files and not directories to have extensions added by this function this is because it s the vastly common case and an attempt to add one to a directory will more often than not represent an error we don t however want to prevent the corresponding operation on directories and so we provide a function that is more flexible genericaddextension dropextension filepath os ar filepath os ar source remove last extension and the preceding it forallabsrel x path dropextension x fst path splitextension x addextension filepath os ar string filepath os ar source add an extension even if there is already one there e g addextension foo txt bat foo txt bat path addextension relfile file txt bib posix relfile file txt bib path addextension relfile file bib posix relfile file bib path addextension relfile file bib posix relfile file bib path addextension path emptyfile bib posix relfile bib path addextension path emptyfile bib posix relfile bib path takefilename path addextension path emptyfile ext posix relfile ext hasextension string filepath os ar bool source does the given filename have the given extension path hasextension hs posix relfile mycode hs path hasextension hs posix relfile mycode bak hs not path hasextension hs posix relfile mycode hs bak splitextensions filepath os ar filepath os ar string source split on all extensions path splitextensions relfile file tar gz posix relfile file tar gz p uncurry path splitextension p p default absfile dropextensions filepath os ar filepath os ar source drop all extensions forallabsrel x not path hasanextension path dropextensions x takeextensions filepath os ar string source get all extensions path takeextensions posix relfile file tar gz tar gz splitfilename filepath os ar dirpath os ar relfile os source p uncurry path combine path splitfilename p p default absfile replacefilename filepath os ar string filepath os ar source dropfilename filepath os ar dirpath os ar source synonym for takedirectory takefilename filepath os ar relfile os source get the filename component of a file path ie stripping all parent dirs path takefilename absfile tmp somedir myfile txt posix relfile myfile txt path takefilename relfile myfile txt posix relfile myfile txt path takefilename relfile myfile txt posix relfile myfile txt p path tostring path takefilename p issuffixof path tostring p default absfile takebasename filepath os ar relfile os source get the basename of a file path takebasename absfile tmp somedir myfile txt posix relfile myfile path takebasename relfile myfile txt posix relfile myfile path takebasename relfile myfile txt posix relfile myfile replacebasename filepath os ar string filepath os ar source takedirectory filepath os ar dirpath os ar source replacedirectory filepath os ar1 dirpath os ar2 filepath os ar2 source combine dirpath os ar relpath os fd path os ar fd source join an absolute or relative directory path with a relative file or directory path to form a new path p path combine path currentdir p p default reldir splitpath absrel ar fileordir fd path os ar fd bool reldir os maybe relfile os source deconstructs a path into its components path splitpath posix absdir tmp somedir mydir dir true map reldir tmp somedir mydir dir nothing path splitpath posix absfile tmp somedir myfile txt true map reldir tmp somedir just relfile myfile txt joinpath filedir fd string relpath os fd source constructs a relpath from a list of components it is an unchecked error if the path components contain path separators it is an unchecked error if a relfile path is empty path joinpath tmp somedir dir posix reldir tmp somedir dir path joinpath tmp somedir file txt posix relfile tmp somedir file txt isvalid system os absrel ar filedir fd path os ar fd bool source check internal integrity of the path data structure isrelative absrel ar path os ar fd bool source invariant this should return true iff arg is of type path part rel _ isrelative not isabsolute path isrelative posix relfile fred path isrelative windows relfile fred isabsolute absrel ar path os ar fd bool source test whether a path ar fd is absolute path isabsolute posix absfile fred path isabsolute windows absfile fred path isabsolute windows absfile c fred path isabsolute windows absfile c fred filepath os ar string filepath os ar infixl 7 source withabsrel absrel ar abspath os fd a relpath os fd a path os ar fd a source withfiledir fileordir fd filepath os ar a dirpath os ar a path os ar fd a source getpathstring system os absrel ar filedir fd path os ar fd string source deprecated use path tostring instead synonym of tostring intended for unqualified use idabsrel absrelpath os fd absrelpath os fd source idabs abspath os fd abspath os fd source idrel relpath os fd relpath os fd source idfiledir filedirpath os fd filedirpath os fd source idfile filepath os fd filepath os fd source iddir dirpath os fd dirpath os fd source mkpathabsorrel system os filedir fd string either abspath os fd relpath os fd source deprecated use path absrel instead examines the supplied string and constructs an absolute or relative path as appropriate path mkpathabsorrel tmp left posix absdir tmp path mkpathabsorrel tmp right posix reldir tmp path mkpathabsorrel tmp left windows absdir tmp path mkpathabsorrel d tmp left windows absdir d tmp path mkpathabsorrel d tmp left windows absdir d tmp path mkpathabsorrel tmp right windows reldir tmp mkpathfileordir system os absrel ar string io maybe either filepath os ar dirpath os ar source deprecated don t let the path type depend on current file system content instead choose the path type according to the needed disk object type searches for a file or directory with the supplied path string and returns a file or dir path as appropriate if neither exists at the supplied path nothing is returned mkabspath system os filedir fd absdir os string abspath os fd source deprecated use path dynamicmakeabsolute instead convert a string into an abspath by interpreting it as relative to the supplied directory if necessary path mkabspath absdir tmp foo txt posix absfile tmp foo txt path mkabspath absdir tmp etc foo txt posix absfile etc foo txt mkabspathfromcwd system os filedir fd string io abspath os fd source deprecated use path dynamicmakeabsolutefromcwd instead convert a string into an abspath by interpreting it as relative to the cwd if necessary splitdirname dirpath os ar maybe dirpath os ar reldir os source p uncurry path combine path splitdirname p tomaybe not default isdrive p p default absdir takesuperdirectory dirpath os ar maybe dirpath os ar source takedirname dirpath os ar maybe reldir os source p fmap d tostring d issuffixof tostring p takedirname p tomaybe not isdrive p true mapfilename string string filepath os ar filepath os ar source mapfilenamef functor f string f string filepath os ar f filepath os ar source makerelativemaybe system os filedir fd absdir os abspath os fd maybe relpath os fd source makeabsolutefromcwd system os relpath os fd io abspath os fd source converts a relative path into an absolute one by prepending the current working directory dynamicmakeabsolute system os absdir os absrelpath os fd abspath os fd source dynamicmakeabsolutefromcwd system os absrelpath os fd io abspath os fd source genericmakeabsolute system os absrel ar absdir os path os ar fd abspath os fd source as for makeabsolute but for use when the path may already be absolute in which case it is left unchanged you should avoid the use of genericmakeabsolute type functions because then you avoid to absolutize a path that was already absolutized path genericmakeabsolute absdir tmp relfile file txt posix absfile tmp file txt path genericmakeabsolute absdir tmp relfile adir file txt posix absfile tmp adir file txt path genericmakeabsolute absdir tmp absfile adir file txt posix absfile adir file txt genericmakeabsolutefromcwd system os absrel ar path os ar fd io abspath os fd source as for makeabsolutefromcwd but for use when the path may already be absolute in which case it is left unchanged pathmap filedir fd string string path os ar fd path os ar fd source map over the components of the path path pathmap map tolower absdir tmp reports spreadsheets posix absdir tmp reports spreadsheets dirfromfile filepath os ar dirpath os ar source convert a file to a directory path obviously the corresponding disk object won t change accordingly the purpose of this function is to be an intermediate step when deriving a dire...
|