System.FilePath propsal (Was: Cabal feedback notes)
ka2_mail at yahoo.com
Thu Oct 28 04:16:05 EDT 2004
Here is the third version.
- FilePath is added to export list
- The pathParents is modified and now it returns
the root directory (see the examples in comments). You
can easily get the previous behaviour:
oldPathParents = tail . pathParents
- The getPathRoot function is removed. It can be
easily emulated with pathParents:
getPathRoot path =
case pathParents path of
(".":path) -> Nothing
(root:path) -> Just root
I can't see any reason to keep this function.
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 14775 bytes
Url : http://www.haskell.org//pipermail/libraries/attachments/20041028/a1a80a2e/FilePath-0001.obj
More information about the Libraries