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