Alastair Reid <[EMAIL PROTECTED]> writes:

> > That'll work just fine, but Hugs is now a bit more clever, letting
> > you use ":" as the path separator in path lists on Windows platforms
> > also.
> 
> Does this work with DOS-style filenames like "c:\temp\foo.hs"?
> If so, how does Hugs distinguish the two different uses of colons?

I recently came across this cool feature in GHC under Windows, so
I guess it probably works in Hugs too, since Sigbjorn is involved
with both.

If you think about it, it isn't actually too difficult to work out that
a single letter directory name in the middle of a colon-separated path
is probably intended to be a drive letter belonging to the following
entry, and adjust accordingly.  I bet you could write a one-liner in
Haskell to do it.

Regards,
    Malcolm
_______________________________________________
Hugs-Users mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/hugs-users

Reply via email to