Skip to content

add more helper utilities for the .Mutable modules in Vector #64

Description

@cartazio

the .Mutable modules are currently a bit impoverished. could use some more utilities

Activity

  1. cartazio commented on Dec 9, 2014

    @cartazio
    ContributorAuthor

    and hopefully this could be done for the 0.11 release

  2. archblob commented on Dec 10, 2014

    @archblob
    Contributor

    If you have anything in mind I can whip up a PR for this.

  3. cartazio commented on Dec 10, 2014

    @cartazio
    ContributorAuthor

    I've not thought that far!

    I'm thinking it'd be good to provide a bunch of the "functional" flavored operations (albeit with monadic results), plus a bunch of inplace operations.

    Eg, map and imap, plus inplace versions thereof.

  4. cartazio commented on Dec 10, 2014

    @cartazio
    ContributorAuthor

    basicaly: everything that has a reasonable definition for the .Mutable modules (though they wont fuse), and that we provide in the pure setting, we should provide, plus the inplace versions of applicable operations.

    like http://hackage.haskell.org/package/vector-0.10.12.2/docs/Data-Vector-Generic-Mutable.html is pretty impoverished compared with http://hackage.haskell.org/package/vector-0.10.12.2/docs/Data-Vector-Generic.html

  5. archblob commented on Dec 10, 2014

    @archblob
    Contributor

    Yeah, I see. Also the documentation has some holes. I will have a go.

  6. cartazio commented on Dec 10, 2014

    @cartazio
    ContributorAuthor

    you rock! (this is a lot of work mind you, lemme know if you want help!)

  7. osa1 commented on Aug 18, 2015

    @osa1

    Is this for adding utilities like http://hackage.haskell.org/package/vector-0.11.0.0/docs/Data-Vector-Storable.html#g:29 to mutable ones? If so , a big 👍 from me.

  8. archblob commented on Sep 7, 2015

    @archblob
    Contributor

    Yes it is, but as you can see I'm really lazy so it may take a while.

  9. added this to the 0.12 milestone on Jul 24, 2016
  10. cartazio commented on Jul 24, 2016

    @cartazio
    ContributorAuthor

    @archblob any chance this is still lying in your queue? :) or it is open season?

  11. archblob commented on Sep 4, 2016

    @archblob
    Contributor

    It seems I still have a branch on my fork. Though now that I'm reminded of this, it's pretty tempting.sigh.
    But It's pretty much open season.

  12. paraseba commented on Jun 15, 2018

    @paraseba

    Is this still planned?

    Today I needed elemIndex for a mutable vector and I was disappointed when I couldn't find anything similar. In the ideal world, elemIndex could be extremely fast on unboxed mutable vectors, like memchr fast! This would be very useful in low level algorithms.

    I might have some cycles, but no working knowledge of the vector package internals. How could I help get this issue moving?

  13. Shimuuar commented on Oct 21, 2020

    @Shimuuar
    Contributor

    Closed in favor of #334

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

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions