Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

List comprehension #640

Merged
merged 41 commits into from
Jan 21, 2022
Merged

List comprehension #640

merged 41 commits into from
Jan 21, 2022

Conversation

raviqqe
Copy link
Contributor

@raviqqe raviqqe commented Jan 17, 2022

Close #585.

Todo

@codecov-commenter
Copy link

codecov-commenter commented Jan 17, 2022

Codecov Report

Merging #640 (b9ff074) into main (f919abb) will increase coverage by 0.15%.
The diff coverage is 89.04%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #640      +/-   ##
==========================================
+ Coverage   85.56%   85.72%   +0.15%     
==========================================
  Files         310      312       +2     
  Lines       28155    29055     +900     
==========================================
+ Hits        24092    24907     +815     
- Misses       4063     4148      +85     
Impacted Files Coverage Δ
lib/ast-hir/src/module_compiler.rs 41.84% <0.00%> (-1.05%) ⬇️
lib/ast/src/ast/expression.rs 52.77% <0.00%> (-3.11%) ⬇️
lib/hir-mir/src/expression_compiler.rs 84.86% <0.00%> (-4.49%) ⬇️
lib/hir-mir/src/lib.rs 89.20% <ø> (ø)
lib/hir/src/analysis/ir/type_transformer.rs 43.14% <0.00%> (-1.34%) ⬇️
lib/mir/src/ir/let_recursive.rs 100.00% <ø> (ø)
lib/ast/src/ast/list_comprehension.rs 51.61% <51.61%> (ø)
lib/hir/src/ir/expression.rs 85.00% <75.00%> (-0.53%) ⬇️
lib/hir/src/analysis/ir/variable_transformer.rs 53.94% <97.61%> (+5.22%) ⬆️
lib/hir-mir/src/type_checker.rs 98.98% <98.05%> (-0.05%) ⬇️
... and 13 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f919abb...b9ff074. Read the comment docs.

@raviqqe raviqqe added the merge label Jan 20, 2022
@raviqqe raviqqe disabled auto-merge January 20, 2022 07:56
@mergify mergify bot merged commit 22db314 into main Jan 21, 2022
@mergify mergify bot deleted the feature/list-comprehension-again branch January 21, 2022 03:31
github-actions bot pushed a commit that referenced this pull request May 8, 2024
Bumps [petgraph](https://github.com/petgraph/petgraph) from 0.6.4 to
0.6.5.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/petgraph/petgraph/blob/master/RELEASES.rst">petgraph's
changelog</a>.</em></p>
<blockquote>
<h1>Version 0.6.5 (2024-05-06)</h1>
<ul>
<li>Add rayon support for <code>GraphMap</code>
(<code>[#573](https://github.com/petgraph/petgraph/issues/573)</code><em>,
<code>[#615](https://github.com/petgraph/petgraph/issues/615)</code></em>)</li>
<li>Add <code>Topo::with_initials</code> method
(<code>[#585](https://github.com/petgraph/petgraph/issues/585)</code>_)</li>
<li>Add logo to the project
(<code>[#598](https://github.com/petgraph/petgraph/issues/598)</code>_)</li>
<li>Add Ford-Fulkerson algorithm
(<code>[#640](https://github.com/petgraph/petgraph/issues/640)</code>_)</li>
<li>Update <code>itertools</code> to 0.12.1
(<code>[#628](https://github.com/petgraph/petgraph/issues/628)</code>_)</li>
<li>Update <code>GraphMap</code> to allow custom hash functions
(<code>[#623](https://github.com/petgraph/petgraph/issues/623)</code>_)</li>
<li>Fix documentation
(<code>[#630](https://github.com/petgraph/petgraph/issues/630)</code>_)</li>
<li>Fix clippy warnings
(<code>[#627](https://github.com/petgraph/petgraph/issues/627)</code>_)</li>
<li>(internal) Fix remove old <code>copyclone</code> macro
(<code>[#601](https://github.com/petgraph/petgraph/issues/601)</code>_)</li>
<li>(internal) Move minimum spanning tree into own module
(<code>[#624](https://github.com/petgraph/petgraph/issues/624)</code>_)</li>
</ul>
<p>..
_<code>[#573](https://github.com/petgraph/petgraph/issues/573)</code>:
<a
href="https://redirect.github.com/petgraph/petgraph/pull/573">petgraph/petgraph#573</a>
..
_<code>[#615](https://github.com/petgraph/petgraph/issues/615)</code>:
<a
href="https://redirect.github.com/petgraph/petgraph/pull/615">petgraph/petgraph#615</a>
..
_<code>[#585](https://github.com/petgraph/petgraph/issues/585)</code>:
<a
href="https://redirect.github.com/petgraph/petgraph/pull/585">petgraph/petgraph#585</a>
..
_<code>[#598](https://github.com/petgraph/petgraph/issues/598)</code>:
<a
href="https://redirect.github.com/petgraph/petgraph/pull/598">petgraph/petgraph#598</a>
..
_<code>[#640](https://github.com/petgraph/petgraph/issues/640)</code>:
<a
href="https://redirect.github.com/petgraph/petgraph/pull/640">petgraph/petgraph#640</a>
..
_<code>[#628](https://github.com/petgraph/petgraph/issues/628)</code>:
<a
href="https://redirect.github.com/petgraph/petgraph/pull/628">petgraph/petgraph#628</a>
..
_<code>[#623](https://github.com/petgraph/petgraph/issues/623)</code>:
<a
href="https://redirect.github.com/petgraph/petgraph/pull/623">petgraph/petgraph#623</a>
..
_<code>[#630](https://github.com/petgraph/petgraph/issues/630)</code>:
<a
href="https://redirect.github.com/petgraph/petgraph/pull/630">petgraph/petgraph#630</a>
..
_<code>[#627](https://github.com/petgraph/petgraph/issues/627)</code>:
<a
href="https://redirect.github.com/petgraph/petgraph/pull/627">petgraph/petgraph#627</a>
..
_<code>[#601](https://github.com/petgraph/petgraph/issues/601)</code>:
<a
href="https://redirect.github.com/petgraph/petgraph/pull/601">petgraph/petgraph#601</a>
..
_<code>[#624](https://github.com/petgraph/petgraph/issues/624)</code>:
<a
href="https://redirect.github.com/petgraph/petgraph/pull/624">petgraph/petgraph#624</a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/petgraph/petgraph/commit/c32a86b1b8c5c198079efc9149ea2fcf956b8f6c"><code>c32a86b</code></a>
Release <code>0.6.5</code> (<a
href="https://redirect.github.com/petgraph/petgraph/issues/644">#644</a>)</li>
<li><a
href="https://github.com/petgraph/petgraph/commit/da2e4280362a89f5ea07baf536a823cdbb9eb36c"><code>da2e428</code></a>
Ford Fulkerson algorithm support. (<a
href="https://redirect.github.com/petgraph/petgraph/issues/640">#640</a>)</li>
<li><a
href="https://github.com/petgraph/petgraph/commit/561c4766a0e8b34ee5331d11d047154006ede5d7"><code>561c476</code></a>
Chore: Minor - Bumped actions/checkout to version 4. (<a
href="https://redirect.github.com/petgraph/petgraph/issues/631">#631</a>)</li>
<li><a
href="https://github.com/petgraph/petgraph/commit/5b2d8da71efe7b9cb0a1a9487601ed99653cd4cd"><code>5b2d8da</code></a>
Minor: Cargo doc fixup. (<a
href="https://redirect.github.com/petgraph/petgraph/issues/630">#630</a>)</li>
<li><a
href="https://github.com/petgraph/petgraph/commit/5cabfe3e569bebc90221c7eb3832b26630bb1417"><code>5cabfe3</code></a>
Fixed clippy warnings (<a
href="https://redirect.github.com/petgraph/petgraph/issues/627">#627</a>)</li>
<li><a
href="https://github.com/petgraph/petgraph/commit/3361e0493397604704ea275ffdcdad5fc4044107"><code>3361e04</code></a>
chore: bumped itertools to 0.12.1. (<a
href="https://redirect.github.com/petgraph/petgraph/issues/628">#628</a>)</li>
<li><a
href="https://github.com/petgraph/petgraph/commit/08b0ad9286f3bd4e2b31c2e3ffaf6a49983bbb87"><code>08b0ad9</code></a>
Move Minimum Spanning Tree Algorithm to its own module (<a
href="https://redirect.github.com/petgraph/petgraph/issues/624">#624</a>)</li>
<li><a
href="https://github.com/petgraph/petgraph/commit/4678de4985d0ccaec2f6bfc4901e0b3f0623ab7f"><code>4678de4</code></a>
Page rank algorithm support (<a
href="https://redirect.github.com/petgraph/petgraph/issues/623">#623</a>)</li>
<li><a
href="https://github.com/petgraph/petgraph/commit/c71f6e4aa12d7b9ccd0dbe53f62bcdee35a6d703"><code>c71f6e4</code></a>
Allow alternative hash functions in GraphMap (<a
href="https://redirect.github.com/petgraph/petgraph/issues/622">#622</a>)</li>
<li><a
href="https://github.com/petgraph/petgraph/commit/e219ecfad287f676071b760ce5fbad4620754640"><code>e219ecf</code></a>
Use <code>IndexMap::get_index_of</code></li>
<li>Additional commits viewable in <a
href="https://github.com/petgraph/petgraph/compare/petgraph@v0.6.4...petgraph@v0.6.5">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=petgraph&package-manager=cargo&previous-version=0.6.4&new-version=0.6.5)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

List comprehension for map operation
2 participants