ToricHigherDirectImages for JSAG#4000
Draft
sashahbc wants to merge 1 commit intoMacaulay2:developmentfrom
Draft
Conversation
Member
|
Yay -- pull request #4000!!!! 🎉 🥳 |
antonleykin
reviewed
Oct 22, 2025
| -- types | ||
| -- methods | ||
| "frobeniusPushforward", | ||
| "frobeniusDirectImage", |
Contributor
There was a problem hiding this comment.
A cleaner way to declare a synonym would be to write
"frobeniusDirectImage" => "frobeniusPushforward"
(on line 38) and then get rid of anythin that mentions frobeniusDirectImage in the rest of code and documentation.
antonleykin
requested changes
Nov 3, 2025
Contributor
antonleykin
left a comment
There was a problem hiding this comment.
In general, the code look very clean! Two things to point out:
- use synonyms where appropriate: apart from
"frobeniusDirectImage" => "frobeniusPushforward", disabbreviate/export and make a synonym"HDI" => "higherDirectImages". - consider deleting some unnecessary "(" and ";" --- e.g., and
- replace tabs with spaces (for consistent alignment) --- e.g.
M2/M2/Macaulay2/packages/ToricHigherDirectImages.m2
Lines 253 to 254 in 219355b
Documentation:
- use simple doc items like
References,Contributors, etc. --- https://macaulay2.com/doc/Macaulay2/share/doc/Macaulay2/SimpleDoc/html/_package__Template.html --- in the main doc node - consider merging similar doc nodes, where appropriate
- consider putting more links in
SeeAlsosections
(Reviewed in consultation with @d-torrance and @mikestillman)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This is a draft PR for the review process of ToricHigherDirectImages for JSAG.
Since I had the chance to make some minor changes, I changed
frobeniusDirectImagetofrobeniusPushforward, but added it as a synonym (hopefully this means I don't need to revise the paper..?).The original PR for the package is at #3720.
Other related PRs fixing minor bugs are: #3729, #3757, #3823, and #3884.