System.FilePath propsal (Was: Cabal feedback notes)

Aaron Denney wnoise at
Fri Oct 29 04:54:40 EDT 2004

On 2004-10-29, Krasimir Angelov <ka2_mail at> wrote:
> Good point. In order to do proper normalization we
> need IO monad. The absolutizePath function is already
> in IO. I propose to remove normalizePath function and
> to keep only absolutizePath function (in
> System.Directory). On Windows it can be implemented on
> top of GetFullPathName and on Unix there is realpath
> function.

They're both useful functions, and I think both should be kept,
and the differences documented.  (See also zsh's "chase_dots"
and "chase_links" options.)

Aaron Denney

More information about the Libraries mailing list