You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit adds a new built-in function to generate a range of
integers between two values (inclusive). This is useful in certain
cases where users need to enumerate a set of values (e.g., port
numbers).
Fixesopen-policy-agent#2479
Signed-off-by: Torin Sandall <[email protected]>
This commit adds a new built-in function to generate a range of
integers between two values (inclusive). This is useful in certain
cases where users need to enumerate a set of values (e.g., port
numbers).
Fixes#2479
Signed-off-by: Torin Sandall <[email protected]>
A few recent use cases could have used a built-in function to generate a range of integers between two numbers. For example:
Note, since OPA supports arbitrary-precision numbers, we should use big.Int for the implementation.
The text was updated successfully, but these errors were encountered: