Abstract FilePath Proposal

Henning Thielemann lemming at henning-thielemann.de
Fri Jun 26 16:22:16 UTC 2015


On Fri, 26 Jun 2015, Henning Thielemann wrote:

> On Fri, 26 Jun 2015, Herbert Valerio Riedel wrote:
>
>> What?
>> =====
>> 
>> We (see From: & CC: headers) propose, plain and simple, to turn the
>> currently defined type-synonym
>>
>>  type FilePath = String
>> 
>> into an abstract/opaque data type instead.
>
> Has someone else tried the pathtype package?
>   http://hackage.haskell.org/package/pathtype

Hm, your last point "Decisions assumed by this Proposal" seems to mean, 
that you want to leave out more specialised types from this proposal. That 
is, dir/file distinction might be defined on top of the new FilePath type.


More information about the Libraries mailing list