Skip to content

Support list as model constants#1064

Draft
jijn wants to merge 1 commit into
prisms-center:masterfrom
jijn:model_constants
Draft

Support list as model constants#1064
jijn wants to merge 1 commit into
prisms-center:masterfrom
jijn:model_constants

Conversation

@jijn

@jijn jijn commented May 5, 2026

Copy link
Copy Markdown
Contributor
  • Please check if the PR fulfills these requirements
  • The PR follows our guidelines (formatting & style)
  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)
  • What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
    feature, related to Add strings & lists to model constants #1010

  • What is the current behavior? (You can also link to an open issue here)
    support double, int, bool, string, tensors...

  • What is the new behavior (if this is a feature change)?
    support list

  • Does this PR introduce a breaking change? (What changes might users need to make in their application due to this PR?)
    no

  • Other information:

set Model constant l = (3,1,4,1,5,9,2), list

or

set Model constant l = 3,1,4,1,5,9,2, list

@fractalsbyx

Copy link
Copy Markdown
Contributor

I think if we want to do lists, we would have keywords like STRING LIST, INT LIST, BOOL LIST, etc.
(skipping tensors and anything complicated)

@fractalsbyx fractalsbyx marked this pull request as draft May 14, 2026 21:07
@landinjm

Copy link
Copy Markdown
Contributor

With #1110 it might be better to close and remake this PR

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.

3 participants