-
Notifications
You must be signed in to change notification settings - Fork 3
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
AFPP is implemented #6
Comments
Good. Thanks for letting me know. I guess this is the beginning of a long journey to implement everything, like This means, for Unix, having to re-implement stuff on |
That is already done:
|
@hasufell No, it's not done. Perhaps I wasn't clear enough. My apologies. Let me clarify. What you are thinking of is probably (By the way, I don't know if The point of this package is that, "unix" does not provide high-level functions like In other words, we have When you look at the function name, Either way, I'm glad |
Directory package is already migrated. Process not. |
A bit off-topic maybe, but don't forget "hinotify". |
Note that base does not implement AFPP yet, so things like withFile are still needed from this library. |
Not sure I can follow. This library has nothing to do with AFPP. AFPP does not use RawFilePath. Also: |
Yeah well I think what joeyh really means is
There is no But implementing |
That's the issue. Because that function doesn't make sense. You have to distinguish between platforms when going to the original bytes, because they have fundamentally different shape (char vs wide char array). Failure to do so will lead to broken code. Can you explain precisely what the problem is? |
@hasufell Well, to make sure we're on the same page... Here's one scenario I can think of:
I think this is a pretty realistic use case. Linting, spell correcting, graphics texture file manipulation, and so on. The internal representation of the file content would matter, because that's the sequence of bytes the programmer is actually manipulating. But the internal representation of the file path (char vs wide char array) shouldn't matter, because the list is not constructed by the programmer. It's from the OS. It could be a char array or a wide char array, and the programmer doesn't care; What is returned by Hopefully |
Oh... I confused If you had read the blog post I linked, you'd know |
Oh well good. Excellent. Thanks. @joeyh Check it out! |
The text was updated successfully, but these errors were encountered: