Send Beginners mailing list submissions to
        beginners@haskell.org

To subscribe or unsubscribe via the World Wide Web, visit
        http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners
or, via email, send a message with subject or body 'help' to
        beginners-requ...@haskell.org

You can reach the person managing the list at
        beginners-ow...@haskell.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Beginners digest..."


Today's Topics:

   1.  Fwd:  Path {Abs|Rel} {Dir|File} type question (Yitzchak Gale)


----------------------------------------------------------------------

Message: 1
Date: Wed, 30 Aug 2017 18:48:03 +0300
From: Yitzchak Gale <g...@sefer.org>
To: Haskell <beginners@haskell.org>
Subject: [Haskell-beginners] Fwd:  Path {Abs|Rel} {Dir|File} type
        question
Message-ID:
        <CAOrUaLZi01edhbgDVKsYoJ92KfQgB+7fbj1C=QZiA_yPmx=z...@mail.gmail.com>
Content-Type: text/plain; charset="UTF-8"

You wrote:
>>> [In the path library] the `Path` has different representation
>>> on Windows and POSIX which seems that no way
>>> to use both on the same platform

> IMHO it will be good to have like in Python: all kind of paths (NT,
> POSIX, etc) available as well as local path (local platform
> dependent)...

Why like in Python? You mean like in Haskell.
The standard and popular "filepath" library in
Haskell does all that very nicely.

The "path" library you are looking at is a newer library
that wraps "filepath" and provides more type safety.
It looks very nice. I hope the issue with multiplatform
paths will soon be fixed, and then perhaps the path
library will become more widely used. In the meantime,
I suggest you use the "filepath" library.

Regards,
Yitz


------------------------------

Subject: Digest Footer

_______________________________________________
Beginners mailing list
Beginners@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners


------------------------------

End of Beginners Digest, Vol 110, Issue 27
******************************************

Reply via email to