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

add System.OsPath.getSearchPath #249

Open
joeyh opened this issue Jan 23, 2025 · 1 comment · May be fixed by #250
Open

add System.OsPath.getSearchPath #249

joeyh opened this issue Jan 23, 2025 · 1 comment · May be fixed by #250

Comments

@joeyh
Copy link

joeyh commented Jan 23, 2025

On converting from System.FilePath to System.OsPath, I am missing getSearchPath.

I know, it's the only non-pure function in there. But complicating the transition to System.OsPath does not feel worth the benefit of making it all pure to me.

@hasufell
Copy link
Member

hasufell commented Jan 23, 2025

I think the reason might be because we don't have a proper getEnv yet.

I laid the groundwork for that here haskell/win32#232

Now we have to implement getEnv and decide where it should live (is file-io appropriate?)

@hasufell hasufell linked a pull request Mar 6, 2025 that will close this issue
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

Successfully merging a pull request may close this issue.

2 participants