functions 0.0.9 → 0.0.11

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
- ZjNiMzhiYWU2ZWZiMTFlMzY2MWFhZmI3ZDU1NWYzNmI4NDUxM2IxOA==
4
+ N2JiMmVkMjY0ZDQ3NWNmYzE2MDhkNWIwNTQ2YzJkMTk1YWQ0ZmI3Yg==
5
5
  data.tar.gz: !binary |-
6
- YjNiYTg3MTUxODAwYTIxNjZlNDJhMTkzZDFhYTM5YTY3NTU1MzdmZA==
6
+ YjQzNDMxOGZhYWY5YTRkNTYzMjk5YTNiOTcyNGZjMzY1Y2IxMmEzNg==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- ZTljMTAwOTQzMGVhYTFhZmNhN2Q0ODQ3YTU2ZmVkNDNiMDNmZGQwMDBmMjUz
10
- ZGQ0MDg0MWVjYzMxMmVkNDY5ZThlMzhjYzM5NmJjOWJjZTZmYWY5M2Y5ZmVh
11
- Y2Y2ZmEwMWU3NjU0NjBmZTRhMDRiNjlkOTNlNzlkNDNmYzExNjc=
9
+ MDZlZjkyMGM0OTkxZGJjZDVkZmNlYzI1MGJjZjJlMzUxMGEyMWU5MDgyMzU3
10
+ YzlmMjlhNTU0ODZhNDVmYWY0NDA4NDE1N2E0OTYxODFkZGVlYWQxYzA0YjRl
11
+ ZTlkZTljMDc1MjdhMTA0MDM5YzJmNzNhMDMxYzk5YzQxMGQ1Yzc=
12
12
  data.tar.gz: !binary |-
13
- ZWJlZWQwZDUwZjgyMWEzYTNlNGU5NzFkNmQ2OTUwMGNmMmQyZmM4OTYyMDI0
14
- NjdhNDczOGNmMTRmZmZlNTU2ZGZjMzIzZDIzZDI1MjMyOTU3MTE1YmEzZjI0
15
- ZjU0NTQyY2NmNWUyMDk4NDBjZWE5NzE1ZDYwZTZlZGQ4ZjMxYTk=
13
+ ZGUxNjhiZDE2YmU3NjBhNWYwYmM3MDZhNWJiNzE1MjJiNmNiYjI4OWM4MWM3
14
+ YjYwM2Y1MTFkNTEwOTNkMmJlMmNhMDc3OGRhMzQzMDcxMTYzOTQwYTgzZmVj
15
+ OTdmNThlZmU5ZDNlYTdhZmJiYmFjNTI5MTI4NTU4ZWM5ZDU4OTc=
@@ -99,7 +99,9 @@ module Functions
99
99
 
100
100
  Group = ->(f,a) { a.group_by(&f) }.curry
101
101
 
102
- Partition = ->(f) { Group.(f) > Send.(:values) }
102
+ Values = Send.(:values)
103
+
104
+ Partition = ->(f) { Group.(f) > Values }
103
105
 
104
106
  FromTo = ->(from) { ->(to) { Range.new(from, to) } }
105
107
 
@@ -1,3 +1,3 @@
1
1
  module Functions
2
- VERSION = "0.0.9"
2
+ VERSION = "0.0.11"
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.9
4
+ version: 0.0.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Koen Handekyn