mirror of
				https://github.com/GayPizzaSpecifications/pork.git
				synced 2025-11-04 01:49:39 +00:00 
			
		
		
		
	Simple syntax example.
This commit is contained in:
		@ -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)
 | 
				
			||||||
  ]
 | 
					  ]
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user