Skip to content

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

Description

@hvr

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.

Activity

  1. JohnLato commented on Oct 23, 2014

    @JohnLato

    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).

  2. hvr commented on Oct 23, 2014

    @hvr
    MemberAuthor

    @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...

  3. JohnLato commented on Oct 27, 2014

    @JohnLato

    @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?

  4. hvr commented on Dec 6, 2014

    @hvr
    MemberAuthor

    @JohnLato thanks for updating the patch!

  5. added this to the 2.8.0.0 milestone on Dec 7, 2014
  6. hvr commented on Dec 19, 2014

    @hvr
    MemberAuthor

    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)

  7. removed this from the 2.8.0.0 milestone on Jul 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions