functions 0.0.7 → 0.0.8

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
- ZTA3YWEwZTYwYTVhY2FhOTRmMjJkMjBlMTQ5YzZmMmQ1MzMzZjNmYg==
4
+ NTk3ZDc4OWUxMTEwY2QzODFiZjYzMGJjNTA2MDZjMjNhNWJiMDc5Mw==
5
5
  data.tar.gz: !binary |-
6
- MGFmMThjZWI2ZDEzNGJmNzE4NDVlYzI1ZWYzYjhlMzdjNDE5MDkwYw==
6
+ MWNiMjA0N2UzNmExNzg5NTAyZTcwYzUwOGEzODFhMDY0MGVjYjQwYg==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- NzJjZDAwMTM0NjkzZThkNzVmMmJhNGUwODRlNTk2MTFmNTRmNjU3NWEwMjcy
10
- YTQ5ZDNiMjhhMWMzMThkMDg5NDljMzZiN2JiOWMyYWM0ZWE5YzdjYzNjZjNh
11
- MjQ2MDk4ZjliMTU2Nzc3MDIxYzczYWU2NzgwNTE2YzdjYjM0ZGQ=
9
+ Nzc3N2VjMzBkM2NiNTVhOTQ3NWJlNzA3NjY4NGU3NWU0YWVlMzFmZDZmMDE5
10
+ YjdkZWJlODZhYTEzZDYzMTdjNWY1YTE2NGRhM2U2MjM2Njk4MzUyMDU3YzBi
11
+ NWIwNTJhMjUwNTI5ZWE0NGYyYzEyOWJmMTU0OWFiZjRmODc1MDA=
12
12
  data.tar.gz: !binary |-
13
- M2UwMWRlN2M5NmE5ODc0NDkxZjBhNzYxMTZlMjE3MDZmNzRmMWFlN2M5NTY3
14
- ZDc1Y2ViNWZmNjIwOWIxM2U1N2VmYWMwM2VhNWNjMWIxNGJhOGEwYjFlNGRl
15
- YjgzOWZkNDY2YzY0YzU2ZTJhMjNiYTZjMWQ5NTZkZTZiMTQ4MzU=
13
+ NzU5YzRiOWEzMmM5ZDVmMWQxZGY0OGZmNjU2NDBjMzVjMzFkMTBmNThjMzli
14
+ MTRkMTYxYWMxMWFhMzZhN2UxZmFjODdmM2VjMjllOGQzY2NlMDU5NjViZTA2
15
+ YmMzNjhjZDYxYTIzMGQ1YjcxMDM1MDVkNjBkODc1N2FiZWY4MDQ=
@@ -95,7 +95,7 @@ module Functions
95
95
 
96
96
  Group = ->(f,a) { a.group_by(&f) }.curry # functional friend
97
97
 
98
- Partition = ->(f) { Group.(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.7"
2
+ VERSION = "0.0.8"
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.7
4
+ version: 0.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Koen Handekyn