rename lenTuple and lenVarargs (#13639)
* rename 'lenTuple' to 'tupleLen' Rationale: `lenTuple` is a tuple consisting of lengths (e.g. `(1, 5, 0)`), `tupleLen` is a length of a tuple (e.g. `tupleLen((1, 5, 0) == 3`) * rename 'lenVarargs' to 'varargsLen' The same rationale as a previous commit. Consistency.
This commit is contained in:
parent
f0cd50f9c4
commit
14b2354b7d
6 changed files with 33 additions and 32 deletions
|
|
@ -66,7 +66,7 @@
|
|||
- Added `sugar.collect` that does comprehension for seq/set/table collections.
|
||||
- Added `sugar.capture` for capturing some local loop variables when creating a closure.
|
||||
This is an enhanced version of `closureScope`.
|
||||
- Added `typetraits.lenTuple` to get number of elements of a tuple/type tuple,
|
||||
- Added `typetraits.tupleLen` to get number of elements of a tuple/type tuple,
|
||||
and `typetraits.get` to get the ith element of a type tuple.
|
||||
- Added `typetraits.genericParams` to return a tuple of generic params from a generic instantiation
|
||||
- Added `os.normalizePathEnd` for additional path sanitization.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue