
28 Oct
2004
28 Oct
'04
8:16 a.m.
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. Cheers, Krasimir __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com