Skip to content
CCPEDIAby Unity Nodes
App Development

No Ord instance for NonEmpty

5 posts314 views11 likesLast activity Aug 2021

  1. huwOP 4

    Hi there, it seems that NonEmpty does not have an Ord instance. Any plans to add this? Would be nice to have. I realize now that I can make PRs onto Daml’s public Github repo, happy to make a PR for this one, should be fairly straightforward to add I think.

  2. cocreature 3

    Hi @huw, an Ord instance for NonEmpty would definitely me reasonable and we’d happily accept a PR!

  3. huw 2

    Great! I’ll give it a shot

  4. huw 1

    Hi @cocreature , I have created the code and tests for this change. Seems I get a 403 error trying to push to a branch on your repo. Do I need to request access?

  5. cocreature 1

    You can create a pull request from a fork. First fork the repository, then push to a branch on your fork and then create a PR from that. See Creating a pull request from a fork - GitHub Docs for details.