announcing darcs

Ketil Z. Malde
10 Apr 2003 08:29:42 +0200

Alastair Reid <> writes:

> [moved from cafe to libraries]

> For example, on a Unix system, /usr/lib/ 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

If I haven't seen further, it is by standing in the footprints of giants