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

Rethink API wrt to operations not available on all platforms #23

Open
hvr opened this issue Oct 22, 2014 · 5 comments
Open

Rethink API wrt to operations not available on all platforms #23

hvr opened this issue Oct 22, 2014 · 5 comments

Comments

@hvr
Copy link
Member

hvr commented Oct 22, 2014

Some time ago, based on the discussion in

http://thread.gmane.org/gmane.comp.lang.haskell.libraries/20865/focus=20936

@JohnLato prepared a patch at

JohnLato/packages-unix@a1d905c

that's risking to be forgotten.

@JohnLato
Copy link

Ah, I thought that had been merged already because it doesn't change semantics of anything. Although it's only a half-solution, in that it doesn't implement a custom exception type (which could change the behavior of existing programs).

@hvr
Copy link
Member Author

hvr commented Oct 23, 2014

@JohnLato Yeah, I forgot about it... sorry

btw, if you have time, it'd be great if you could turn that patch into a pull-request against this repository...

@JohnLato
Copy link

@hvr nearly done. Not sure what to do about System.Posix.DynamicLinker.Prim.packDL though. I guess I'd be in favor of warning if it's used when undefined, but maybe that behavior is just annoying?

@hvr
Copy link
Member Author

hvr commented Dec 6, 2014

@JohnLato thanks for updating the patch!

@hvr hvr added this to the 2.8.0.0 milestone Dec 7, 2014
@hvr
Copy link
Member Author

hvr commented Dec 19, 2014

I've used this technique for the new operations added via

e14fbe2 and 98eced8

if this works out, we can convert the other existing functions with the next release (not sure yet if we'd need to major bump or just minor bump)

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

No branches or pull requests

3 participants