Skip to content

Fundamental Data Structures #95

@zachwolfe

Description

@zachwolfe

Part 1:

  • Vec
  • String
  • Slices

Part 2, after #45 and #46:

  • Option
  • Result
  • Basic (traitless, sugarless) iterators, example:
numbers := Vec[usize].new()
// Initialize `numbers`...

// Loop through and print each element of `numbers`
iter := numbers.iterator()
while true {
    match iter.next() {
        .some(next) => print(next)
        .none => break
    }
}
  • HashMap
  • HashSet

Metadata

Metadata

Assignees

No one assigned

    Labels

    high-priorityNeeds to get done right away

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions