mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-23 19:42:50 -06:00
CS's system S
This commit is contained in:
20
examples/systemS/Formula.gf
Normal file
20
examples/systemS/Formula.gf
Normal file
@@ -0,0 +1,20 @@
|
||||
-- 20 Dec 2005, 9.45
|
||||
|
||||
abstract Formula = {
|
||||
|
||||
cat
|
||||
Formula ;
|
||||
Term ;
|
||||
|
||||
fun
|
||||
And, Or, If : (_,_ : Formula) -> Formula ;
|
||||
Not : Formula -> Formula ;
|
||||
Abs : Formula ;
|
||||
|
||||
---- All, Exist : (Term -> Formula) -> Formula ;
|
||||
|
||||
-- to test
|
||||
|
||||
A, B, C : Formula ;
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user