diff options
author | Timothee Cour <timothee.cour2@gmail.com> | 2020-01-09 23:51:37 -0800 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2020-01-10 08:51:37 +0100 |
commit | 4cd86c08427205d2e26510a07a3c6980c14e1608 (patch) | |
tree | efab63d6385cfe3f9368f390ececb06793eb30b9 /changelog.md | |
parent | fcd2f305ad5ad2af37284caf7b33907afb8ad834 (diff) | |
download | Nim-4cd86c08427205d2e26510a07a3c6980c14e1608.tar.gz |
typetraits: fixes #6454; genericParams; added lenTuple; added tuple type get (#13064)
Diffstat (limited to 'changelog.md')
-rw-r--r-- | changelog.md | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/changelog.md b/changelog.md index aeb6987c4..17eedb3a1 100644 --- a/changelog.md +++ b/changelog.md @@ -47,6 +47,10 @@ - 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, + 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 + ## Library changes - `asyncdispatch.drain` now properly takes into account `selector.hasPendingOperations` |