Author: Chris Warburton <chriswarbo@gmail.com>
Date: Fri 9 Oct 04:33:28 UTC 2015
Parent: 28d493ba347a8c61ede78f071ef7fdc73913033d
Log message:
Merge branch 'master' of /home/chris/Programming/repos/php-core
1: diff --git a/core.php b/core.php 2: index 41bb03a..cbf07f2 100644 3: --- a/core.php 4: +++ b/core.php 5: @@ -147,6 +147,7 @@ defuns(array( 6: 'uncurry' => function($f, $args) { 7: return call_user_func_array(op($f), $args); 8: }, 9: + 10: // Like range but handles 0 correctly 11: 'up_to' => function($n) { return $n? range(0, $n - 1) : array(); }, 12: