functions 0.0.5 → 0.0.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- OTNkN2M4ZGQwZmUwZmJiNGE4Y2U3ZjViMTZlZTEwNDllNDFiMTZmMQ==
4
+ NWVhOTY5YzljODFlYjlkZmUxOGNkMzYzMmIwYmFkYWVlMDk0OTNlMA==
5
5
  data.tar.gz: !binary |-
6
- ZWEwYmJjNWY2NDVkZDc1NTkwNjZiNzBkY2NmNDc1NGZhMGZlOGNiMg==
6
+ Y2EwZTU4NGU4Yzg5NDlhMDMzNWYzOTYzNzBkMDE4YjQzNmU0MzIxZA==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- ODcyOTczYTFkMDhkN2VlNzg0MWYwOWU5MjhjMjJiMzkwYWEyYTczZGZjMDlm
10
- ODdiZjhkMTM4MmFiODVmZjc3ZmMwNGVlM2UzYWUxMzBkMTRiMzI5YzJlZTYz
11
- ZTgyYzViNjIxM2ZlNzdkY2E0M2MzNmEwOTgwYWRhZDQ0OGMxM2I=
9
+ NWZjMDI4NTc3MzMyN2UyNTZmN2E3ZDUxNWU5YmVhNTYyYjdjZTgxNzE0ZWE3
10
+ NWY1OTg4MTliOTZmMmU3MzNjODcxNGM4Y2Y4MWZhZTQ1NDFlMjY0ZTQxZDVi
11
+ YTU3OTg5NjM2MWU4MTU4NWQxYTFhZGZlNWVlZWVjYTliNzc1MTA=
12
12
  data.tar.gz: !binary |-
13
- ZmJlMGVlMDlmMDU1MTgwMmYwMTAzMWNjNDA4ODYwYWYzYmU3MDQ3ODVjMDI4
14
- YzFlYjNjZTEyNzllMzA4M2U3ZmI0M2QyYjZjMWUzM2ExOWUzY2Y1NDNkNjNk
15
- ZjJmMTQwMzFiMzZmNmMxMTQ1OTY3N2VjYzM5MzdkYzRiNGQ1MTI=
13
+ OTFhZjQ0ZDJhMjBmMjA1ZDVkOTE2NzYzNmRhZWM2NGZjMGRlOGUyYzZiYTYx
14
+ MTY4NTJmYmQ2OWFmMzRkNGFlMjE3MzU1YmFjMWJhMGM4ODcxYTljZDE3NmUw
15
+ OWI2OTk1NDMwNzEwYzBhNjBmYjA3ZjNiMzBjZWMzNjc5MmQ4OTk=
@@ -93,9 +93,9 @@ module Functions
93
93
 
94
94
  Intersect = ->(as) { as.inject(:&) }
95
95
 
96
- Group_By = ->(f,a) { a.group_by(&f) }.curry # functional friend
96
+ Group = ->(f,a) { a.group_by(&f) }.curry # functional friend
97
97
 
98
- Partition_By = ->(f) { Group_By.(f) >= Send.(:values) } # functional friend
98
+ Partition = ->(f) { Group.(f) >= Send.(:values) } # functional friend
99
99
 
100
100
  FromTo = ->(from) { ->(to) { Range.new(from, to) } }
101
101
 
@@ -1,3 +1,3 @@
1
1
  module Functions
2
- VERSION = "0.0.5"
2
+ VERSION = "0.0.6"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: functions
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Koen Handekyn