mirror of
https://github.com/microsoft/regorus.git
synced 2026-08-05 02:16:11 +00:00
Authored by anakrish and mingweishih Signed-off-by: Anand Krishnamoorthi <anakrish@microsoft.com>
20 lines
224 B
Rego
20 lines
224 B
Rego
package basic
|
|
|
|
import future.keywords.if
|
|
import future.keywords.in
|
|
|
|
default hello := false
|
|
|
|
hello if input.message == "world"
|
|
|
|
|
|
default foo := false
|
|
|
|
foo {
|
|
# some i, {j:5} in {1,2,3} & {5, 6}
|
|
true
|
|
}
|
|
|
|
bar {
|
|
1 in {1, 2}
|
|
} |