Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement Iterable methods #1

Open
28 of 50 tasks
jyuhuan opened this issue Oct 1, 2017 · 0 comments
Open
28 of 50 tasks

Implement Iterable methods #1

jyuhuan opened this issue Oct 1, 2017 · 0 comments
Assignees
Labels

Comments

@jyuhuan
Copy link
Owner

jyuhuan commented Oct 1, 2017

Higher-order Functions

  • mapped(by:) and map(_:)
  • flatMapped(by:) and flatMap(_:)
  • filtered(by:), filtered(notBy:), filter(_:), and filterNot(_:)
  • groupConsecutively(by:)
  • product(with:)
  • product(with:then:)

Interaction with Other Iterables

  • zipped(with:) and zip(_:)
  • zipped(with:then:) and zip(_:_:)
  • concatenated(with:) and concat(_:)
  • interleaved(with:) and interleave(_:)

Interaction with Elements

  • prepended(with:)
  • appended(with:)
  • inserted(with:at:)

Sequence Operations

  • last
  • init
  • tail
  • head

Set Operations

  • distinct

Sub-iterable Slicing

  • slice(from:until:)
  • slice(from:to:)
  • take(first:)
  • take(last:)
  • take(while:)
  • take(until:)
  • take(to:)
  • drop(first:)
  • drop(last:)
  • drop(while:)
  • drop(until:)
  • drop(until:)

Repetition

  • repeat(times:)
  • cycled

Partitioning

  • slidingWindows(of:) and sliding(_:)
  • slidingPairs
  • slidingTriples
  • chunks(of:) and chunks(_:)
  • pairs
  • triples

Folding

  • scanLeft(beginningAt:with:) and scanLeft(_:_:)
  • scanLeft(by:beginningAt:with:) and scanLeft(_:_:_:)
  • scanRight(beginningAt:with:) and scanLeft(_:_:)
  • scanRight(by:beginningAt:with:) and scanLeft(_:_:_:)
  • reduceLeft(beginningAt:with:) and reduceLeft(_:_:)
  • reduceLeft(by:beginningAt:with:) and reduceLeft(_:_:_:)
  • reduceRight(beginningAt:with:) and reduceRight(_:_:)
  • reduceRight(by:beginningAt:with:) and reduceRight(_:_:_:)
  • foldLeft(beginningAt:with:) and foldLeft(_:_:)
  • foldLeft(by:beginningAt:with:) and foldLeft(_:_:_:)
  • foldRight(beginningAt:with:) and foldRight(_:_:)
  • foldRight(by:beginningAt:with:) and foldRight(_:_:_:)
@jyuhuan jyuhuan created this issue from a note in Implementation (In Progress) Oct 1, 2017
@jyuhuan jyuhuan self-assigned this Oct 1, 2017
@jyuhuan jyuhuan added the Feature label Oct 1, 2017
@jyuhuan jyuhuan changed the title Implement SeqProtocol Implement Iterable methods Oct 2, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Implementation
In Progress
Development

No branches or pull requests

1 participant