Because new api already exists in libraries, but FilePath from base is still being used, which makes things worse (now your programs have all those conversions all over).
I like the idea with gradual deprecation warning, but it's not clear if it's feasible to implement. 27 черв. 2015 12:33 "Niklas Larsson" <metanik...@gmail.com> пише: > Hi! > > Instead of trying to minimally patch the existing API and still breaking > loads of code, why not make a new API that doesn't have to compromise and > depreciate the old one? > > Niklas > ------------------------------ > Från: Herbert Valerio Riedel <h...@gnu.org> > Skickat: 2015-06-26 18:09 > Till: librar...@haskell.org; ghc-devs@haskell.org > Ämne: Abstract FilePath Proposal > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hello *, > > 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. > > Why/How/When? > ============= > > For details (including motivation and a suggested transition scheme) > please consult > > https://ghc.haskell.org/trac/ghc/wiki/Proposal/AbstractFilePath > > > > Suggested discussion period: 4 weeks > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1 > > iQIcBAEBAgAGBQJVjXkZAAoJELo8uj/+IrV0WXUP/0romoKazwLbQpaMAKgCNZon > BsY8Di44w6rkbdBXoky0xZooII8LJJyQfexH0BLRYEVLZFy0+LB8XzpPt8Ekg526 > YlY4x0qFm9oiJbJDMqHUnb6z6Lr2KxzBcV37drTPbltUA+HB49DUVkkPbvHimpL2 > 28SIyhAr4fN6fLpGcFAkv6Rcs0mkvnTp7vsC0HNyshmGi6qQ+C+eB4mklQzWOPcn > koHZ2wtI8AJmyTdHKcXKAIFM0r+xl4MJ5445IvDjvIuGXZCzybXMw9Ss/4wSG3VN > qSIJVEDGZXrBCc12fPxPEB0Bqx9MIVytjplXKIo8rFrk93h3at9t9kDM26z+9PZ5 > KYnEdjRKF4KL4j+3xqJDOEJT15GVRbGRRzb9A8xH0YIQ0S3Q3pt1PAfla1Hss75+ > NRQgfowZYryL9dfCkAj2XNfdQ+pUk25N3bNig11se+zjk2JO77QRM0u3GOYZ9+CU > tSlwhtIMF32xnjgQyWE5yBBiEg3/Y+S+809tVaPseUEzkQJXMGq5TFxBrN6bj1Vm > awr6QghThKjeoRwky5bmFn/gept/lbYN6VV5B6gNznGP5xgFrmvVtmjbQJBRMYCv > aEUnrYqxkkbIddJjD5gl771/LWH4M2F1yBgJjfiZw2paEVAXKxEr327LsbOQaPdb > HjIPRrJbVK9AABo4AZ/Y > =lg0o > -----END PGP SIGNATURE----- > _______________________________________________ > ghc-devs mailing list > ghc-devs@haskell.org > http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs > > _______________________________________________ > ghc-devs mailing list > ghc-devs@haskell.org > http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs > >
_______________________________________________ ghc-devs mailing list ghc-devs@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs