mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
Revert "Revert 0.7.6 code for 0.7.5 re-release"
This reverts commit d1349c9cfb.
This commit is contained in:
@@ -142,7 +142,7 @@ macro tconcat(arr1, arr2) @nodiscard => concat(tmem, arr1, arr2);
|
||||
|
||||
@param [in] array
|
||||
@param identity
|
||||
@param #operation : "The reduction/folding labmda function or function pointer to apply."
|
||||
@param #operation : "The reduction/folding lambda function or function pointer to apply."
|
||||
|
||||
@require @is_valid_list(array) : "Expected a valid list"
|
||||
@require $defined($typefrom(@reduce_fn(array, identity)) $func = #operation) : "Invalid lambda or function pointer type"
|
||||
@@ -554,4 +554,4 @@ macro bool @is_valid_fill(left, right, fill_with = ...)
|
||||
$endif
|
||||
}
|
||||
|
||||
macro usz find_len(list) => $defined(list.len()) ??? list.len() : list.len;
|
||||
macro usz find_len(list) => $defined(list.len()) ??? list.len() : list.len;
|
||||
|
||||
Reference in New Issue
Block a user