Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IsString instance for FilePath is orphan #11

Open
sol opened this issue Apr 17, 2015 · 2 comments
Open

IsString instance for FilePath is orphan #11

sol opened this issue Apr 17, 2015 · 2 comments

Comments

@sol
Copy link

sol commented Apr 17, 2015

E.g. the following does not work:

{-# LANGUAGE OverloadedStrings #-}
import Prelude hiding (FilePath)
import Filesystem.Path

foo :: FilePath
foo = "foo/"

Is this by intention?

@snoyberg
Copy link
Member

I think it was, but it wasn't my intention. A few of us have been discussing some other breaking changes around this library, and most likely we'll include this kind of change at the same time.

@snoyberg
Copy link
Member

Note that I've just announced that these libraries will be deprecated in favor of filepath and directory: https://plus.google.com/+MichaelSnoyman/posts/Ft5hnPqpgEx

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants