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 +8 -8
- data/lib/functions/prelude_lambda/basic.rb +3 -1
- data/lib/functions/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
N2JiMmVkMjY0ZDQ3NWNmYzE2MDhkNWIwNTQ2YzJkMTk1YWQ0ZmI3Yg==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
YjQzNDMxOGZhYWY5YTRkNTYzMjk5YTNiOTcyNGZjMzY1Y2IxMmEzNg==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
MDZlZjkyMGM0OTkxZGJjZDVkZmNlYzI1MGJjZjJlMzUxMGEyMWU5MDgyMzU3
|
10
|
+
YzlmMjlhNTU0ODZhNDVmYWY0NDA4NDE1N2E0OTYxODFkZGVlYWQxYzA0YjRl
|
11
|
+
ZTlkZTljMDc1MjdhMTA0MDM5YzJmNzNhMDMxYzk5YzQxMGQ1Yzc=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
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
|
-
|
102
|
+
Values = Send.(:values)
|
103
|
+
|
104
|
+
Partition = ->(f) { Group.(f) > Values }
|
103
105
|
|
104
106
|
FromTo = ->(from) { ->(to) { Range.new(from, to) } }
|
105
107
|
|
data/lib/functions/version.rb
CHANGED