Skip to content

Support r.count on strings #1146

Closed
Closed

Description

@coffeemug
r.expr('foo').count() // 3

Activity

  1. srh commented on Jul 11, 2013

    @srh
    Contributor

    Should that not be .length()?

    What is it counting? UTF-8 codepoints?

  2. jdoliner commented on Jul 11, 2013

    @jdoliner
    Contributor

    I like length better here but I really don't want to have both length and count in the language. When a user sees both of those pop up in the data explorer they will definitely be confused.

  3. mlucy commented on Jul 11, 2013

    @mlucy
    Member

    Could we move this out of 1.8-optional? Having it in 1.8 optional means we're going to start debating it right away.

    I feel like we've drifted away from the original motivation for time-boxing, which was allowing us to have one period where we argue about RQL things and another where we can actually get work done on the things we've agreed on. (I think big, contentious issues like dates might be worth cheating on, but not things like this.)

    (Also, note that I'm frequently guilty of this proposal creep myself, so please call me on it if you see me doing that.)

  4. coffeemug commented on Jul 11, 2013

    @coffeemug
    ContributorAuthor

    Sure, moving to backlog.

  5. danielmewes commented on Jan 21, 2015

    @danielmewes
    Member

    Closing in favor of #264

  6. modified the milestones: duplicate, backlog on Jan 21, 2015
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

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions