-
Notifications
You must be signed in to change notification settings - Fork 90
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
Migrate to use OSPath instead of FilePath #455
Comments
The main issue I see is that |
It doesn't have one, because we can't write a sound instance. |
maybe switch to https://hackage.haskell.org/package/path ? |
It has the same issue and it's even worse, because you can have 4 different types:
Which one is it gonna be when you write Wrt |
I dont know why we need IsString at all |
One reason why I insist on an |
I think IsString is possible Path Rel Dir - ./foo/ |
You're aware parsing can fail, right? E.g. Since IsString can't express failure, what are you going to do? |
Right, I didnt think about it |
Hello! Let me start by saying thanks for this great library. I learned a lot by using it so far as a Haskell beginner. 😃
Anyways, I noticed that
filepath
package recommends to use OSPath instead of FilePath.Since I believe that
turtle
is largely being used as a shell scripting alternative (including in cross-platform manner) and which means, may involve a lot of file and directory manipulations, I reckon it's probably better in long term to adopt OSPath?I was inspired to open this issue after reading this post on Discourse.
Thanks!
The text was updated successfully, but these errors were encountered: