Skip to content

Argument labels for bit_array.slice and string.slice are inconsistent #555

Open
@sarna

Description

@sarna
// bit_array
pub fn slice(
  from string: BitArray,
  at position: Int,
  take length: Int,
) -> Result(BitArray, Nil)

// string
pub fn slice(
  from string: String,
  at_index idx: Int,
  length len: Int,
) -> String

It would be nice if they had the same labels. I tried looking for more functions like that, but I didn't find anything else.

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