Skip to content

typing with args of global functions (except multiplication, element)#910

Open
tias wants to merge 6 commits intomasterfrom
mypy_globfunc
Open

typing with args of global functions (except multiplication, element)#910
tias wants to merge 6 commits intomasterfrom
mypy_globfunc

Conversation

@tias
Copy link
Copy Markdown
Collaborator

@tias tias commented Apr 7, 2026

skipped multiplication because of a float test that needs to be rewritten first

element because I expect some hard-to-type multidim related things that might be revised in #444 anyway

@tias tias requested a review from IgnaceBleukx April 7, 2026 11:15
Copy link
Copy Markdown
Collaborator

@IgnaceBleukx IgnaceBleukx left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, the xxx_listlike helper functions make a lot of sense!
I suppose we'll update the .value() funcs of Operator and GlobalConstraints in future PRs in a similar style?

One blocking comment on the addition in __pow__, otherwise looks good to go

Comment thread cpmpy/expressions/core.py Outdated
Comment thread cpmpy/expressions/globalfunctions.py Outdated
Comment thread cpmpy/expressions/globalfunctions.py Outdated
@tias tias mentioned this pull request Apr 7, 2026
13 tasks
@tias
Copy link
Copy Markdown
Collaborator Author

tias commented Apr 12, 2026

I suppose we'll update the .value() funcs of Operator and GlobalConstraints in future PRs in a similar style?

Yes, for future PRs...

@tias tias requested a review from IgnaceBleukx April 21, 2026 19:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants