projects
/
php-functional.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f650196
)
Improve type hints
author
widmogrod
<widmogrod@gmail.com>
Fri, 29 Dec 2017 22:32:55 +0000
(23:32 +0100)
committer
widmogrod
<widmogrod@gmail.com>
Fri, 29 Dec 2017 22:32:55 +0000
(23:32 +0100)
src/Functional/listt.php
patch
|
blob
|
history
diff --git
a/src/Functional/listt.php
b/src/Functional/listt.php
index
f569261
..
eb4e549
100644
(file)
--- a/
src/Functional/listt.php
+++ b/
src/Functional/listt.php
@@
-113,9
+113,9
@@
const concat = 'Widmogrod\Functional\concat';
*
* @return Listt
*/
-function concat(Foldable $xs)
+function concat(Foldable $xs)
: Listt
{
- return foldr(function ($x, Listt $y) {
+ return foldr(function (
Foldable
$x, Listt $y) {
return foldr(prepend, $y, $x);
}, fromNil(), $xs);
}