Skip to content

Conversation

ArkadiuszChudoba
Copy link

There were two problems with groupBy example:

  1. It didn't work properly for negative numbers.
  2. partial functions were unnecessarily complicated as we could use the fact that we chain partial functions. This has added benefit of showing how partial functions can be chained to perform more specific grouping.

There were two problems with groupBy example:
1. It didn't work properly for negative numbers.
2. partial functions were unnecessarily complicated as we could use the fact that we chain partial functions.  This has added benefit of showing how partial functions can be chained to perform more specific grouping.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant