diff options
author | Vincent Ambo <mail@tazj.in> | 2022-08-31T01·24+0300 |
---|---|---|
committer | tazjin <tazjin@tvl.su> | 2022-09-07T15·25+0000 |
commit | 38d3db5fb88e85eae23680f1c892175e5dfaad0f (patch) | |
tree | 7813c855c01ba5e3f26e7cfc8b7fd2d8a1f633f4 /tvix/eval/docs/known-optimisation-potential.md | |
parent | 7d5dca7ba38be487d04b6ba78e1d70530f635fee (diff) |
feat(tvix/eval): implement NixAttrs::iter() r/4702
Implementing iteration over NixAttrs requires a custom iterator type in order to encapsulate the different representations. The BTreeMap for example has its own iterator type which needs to be encapsulated. This is mostly boilerplate code, but for a change some simple unit tests have been added in. Change-Id: Ie13b063241d461b810876f95f53878388e918ef2 Reviewed-on: https://cl.tvl.fyi/c/depot/+/6367 Tested-by: BuildkiteCI Reviewed-by: sterni <sternenseemann@systemli.org>
Diffstat (limited to 'tvix/eval/docs/known-optimisation-potential.md')
0 files changed, 0 insertions, 0 deletions