
10 Apr
2003
10 Apr
'03
2:29 a.m.
Alastair Reid
[moved from cafe to libraries]
For example, on a Unix system, /usr/lib/libcurl.so would be treated something like this:
(Just ["/","usr","lib"], "libcurl", Just "so")
Isn't this a SMOP, writing functions: dirname :: FilePath -> String -- or FilePath? basename :: FilePath -> String suffix :: FilePath -> String They would probably be useful enough (and, as you point out, slightly tricky to get exactly right) to warrant standardization and inclusion. -kzm -- If I haven't seen further, it is by standing in the footprints of giants