Skip to content

List - native code, based only on Boolean, Pair, Integer #6

@booch

Description

@booch

We can cheat and implement the constructor in Ruby, because we won't have varargs support for a while.

  • constructor
  • size, length, empty?
  • first, head
  • rest, tail
  • last
  • map, includes?
  • reduce, fold, foldl (might need to punt on this)
  • foldr (probably need to punt on this, unless we can easily implement reverse)

Metadata

Metadata

Assignees

No one assigned

    Labels

    refactorNeed to clean up the implementation of something

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions