Skip to content

Adding new algorithms? #20

Open
Open

Description

@merijn

Great that vector-algorithms is now on GitHub, since I couldn't be bothered to deal with darcs!

Is there an idea of how to deal with the inclusion of non-sorting algorithms. Obviously the current module hierarchy is a bit...inconvenient since it doesn't split by algorithm and all the algorithms are currently sorts. I've been wanting to add an implementation for (partial) Fisher-Yates shuffles to vector-algorithms (if I ever find the time...), but I'm unsure how I should make it fit within the module hierarchy...

Activity

  1. erikd commented on Jul 26, 2019

    @erikd
    Owner

    If we add something big, the module hierarchy could be rearranged and we could bump the version numbers appropriately.

  2. Boarders commented on Jul 18, 2021

    @Boarders

    I also wanted to add new algorithms and wonder what module name would be the best place for it. It could be something like Data.Vector.Algorithms or something like Data.Vector.Algorithms.Util. Eventually if more were added then it would be good to put the sort hierarchy into the form Data.Vector.Algorithms.Sort.[X].

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions