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

Add more transformers for interaction with collections #37

Open
26 of 39 tasks
OOPMan opened this issue Feb 2, 2017 · 0 comments
Open
26 of 39 tasks

Add more transformers for interaction with collections #37

OOPMan opened this issue Feb 2, 2017 · 0 comments
Assignees

Comments

@OOPMan
Copy link
Owner

OOPMan commented Feb 2, 2017

Transformers that should be added include:

  • head
  • last
  • tail
  • take
  • takeRight
  • takeWhile
  • drop
  • dropRight
  • dropWhile
  • partition
  • contains
  • containsSlice
  • endsWith
  • startsWith
  • filter
  • find
  • map
  • flatMap
  • flatten
  • fold
  • foldLeft
  • foldRight
  • groupBy
  • grouped
  • indexOf
  • indexOfSlice
  • length
  • join
  • reduce
  • reduceLeft
  • reduceRight
  • reverse
  • slice
  • sortBy
  • splitAt
  • sum
  • zip
  • unzip
  • union

This list draws on the methods available to Seq descendants in Scala

@OOPMan OOPMan self-assigned this Feb 2, 2017
OOPMan added a commit that referenced this issue Feb 20, 2017
OOPMan added a commit that referenced this issue Feb 20, 2017
OOPMan added a commit that referenced this issue Feb 23, 2017
OOPMan added a commit that referenced this issue Feb 23, 2017
…in rightshift.collections. Use explicit classes for alias operations to make it clearer what is happening in a chain
OOPMan added a commit that referenced this issue Mar 11, 2017
OOPMan added a commit that referenced this issue Mar 11, 2017
OOPMan added a commit that referenced this issue Mar 11, 2017
OOPMan added a commit that referenced this issue Mar 11, 2017
…in rightshift.collections. Use explicit classes for alias operations to make it clearer what is happening in a chain
OOPMan added a commit that referenced this issue Mar 11, 2017
OOPMan added a commit that referenced this issue Mar 11, 2017
OOPMan added a commit that referenced this issue Mar 13, 2017
… TakeWhile and DropWhile, adding option for lazyiness. Tweaked Partition. Reimplemented Filter as a WrappedExtractor with optional laziness. Tweaked Map. Removed FlatMap and replaced with Flatten
OOPMan added a commit that referenced this issue Mar 18, 2017
OOPMan added a commit that referenced this issue Mar 21, 2017
OOPMan added a commit that referenced this issue Mar 24, 2017
OOPMan added a commit that referenced this issue Mar 25, 2017
…ss using the HasFlags metaclass would cause an exception to be thrown in HasFlagsBase.__new__
OOPMan added a commit that referenced this issue Mar 27, 2017
…ClassX()._prefix became ClassX.prefix and is no longer mutable. Refactored metaclass member flags to metaclass property default_flags. Effect: type(ClassX).flags became ClassX.default_flags
OOPMan added a commit that referenced this issue Mar 27, 2017
…f namespaced flags. Updated FlagsChain and Flags to reflect changes
OOPMan added a commit that referenced this issue Jan 28, 2018
OOPMan added a commit that referenced this issue Feb 3, 2018
… using classes rather than using HasFlags themselves
OOPMan added a commit that referenced this issue Feb 3, 2018
OOPMan added a commit that referenced this issue Feb 4, 2018
…__call__. Re-worked Head and Tail transformers in rightshift.collections to both be compatible for all iterables and inherit from LazyTransformer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant