Skip to content

Commit

Permalink
Improve the itertools API (RFC 49)
Browse files Browse the repository at this point in the history
This PR makes the changes described in RFC 49. These include making
`fold` non-partial and adding the `fold_partial`, `filter_map`, and
`flat_map` methods. All classes in the itertools package other than
`Iter` have been removed.

Resolves #2189
  • Loading branch information
Theodus authored and SeanTAllen committed Aug 30, 2017
1 parent db7a3af commit a4fbcd8
Show file tree
Hide file tree
Showing 10 changed files with 454 additions and 828 deletions.
272 changes: 92 additions & 180 deletions packages/itertools/_test.pony

Large diffs are not rendered by default.

63 changes: 0 additions & 63 deletions packages/itertools/chain.pony

This file was deleted.

49 changes: 0 additions & 49 deletions packages/itertools/cycle.pony

This file was deleted.

71 changes: 0 additions & 71 deletions packages/itertools/filter.pony

This file was deleted.

Loading

0 comments on commit a4fbcd8

Please sign in to comment.