for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace Prelude;
const prop = __NAMESPACE__.'\prop';
function prop($x): \Closure
{
return function (array $xs) use ($x) {
return $xs[$x] ?? null;
};
}