Implement `Listt::head` and `Listt::tail`
authorThomas Ploch <thomas.ploch@flixbus.com>
Wed, 13 Dec 2017 17:34:15 +0000 (18:34 +0100)
committerThomas Ploch <thomas.ploch@flixbus.com>
Wed, 13 Dec 2017 17:34:15 +0000 (18:34 +0100)
commit52395d17b7cb49f720465f2ca19c6dd30fe771f1
treec16f3b629dfeb30775b04778229f795f6efaeaf0
parentf0249cea504f7d902bb27f1bbb3b2f654f4dc476
Implement `Listt::head` and `Listt::tail`

This is a first draft on continuation for
https://github.com/widmogrod/php-functional/issues/46

Also added *Eris* randomized property test extension (QuickCheck port)

Implementation uses generators to treat all `iterable` the same way.
composer.json
composer.lock
src/Functional/functions.php
src/Primitive/Listt.php
test/Primitive/ListtTest.php