mirror of
https://github.com/GayPizzaSpecifications/pork.git
synced 2025-08-03 05:10:55 +00:00
Simple syntax example.
This commit is contained in:
parent
c5d0881893
commit
90df76ca33
@ -18,8 +18,8 @@ main = { in
|
|||||||
trueValue = true
|
trueValue = true
|
||||||
falseValue = false
|
falseValue = false
|
||||||
|
|
||||||
check = { in
|
invert = { value in
|
||||||
if true then false else true
|
if value then false else true
|
||||||
}
|
}
|
||||||
|
|
||||||
[
|
[
|
||||||
@ -29,6 +29,7 @@ main = { in
|
|||||||
list,
|
list,
|
||||||
trueValue,
|
trueValue,
|
||||||
falseValue,
|
falseValue,
|
||||||
check()
|
invert(true),
|
||||||
|
invert(false)
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user