diff options
Diffstat (limited to 'gf-book/examples/chapter9/Logic.gf')
| -rw-r--r-- | gf-book/examples/chapter9/Logic.gf | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/gf-book/examples/chapter9/Logic.gf b/gf-book/examples/chapter9/Logic.gf new file mode 100644 index 000000000..0ce8df7e9 --- /dev/null +++ b/gf-book/examples/chapter9/Logic.gf @@ -0,0 +1,9 @@ +abstract Logic = { + cat + Prop ; Ind ; + data + And, Or, If : Prop -> Prop -> Prop ; + Not : Prop -> Prop ; + All, Exist : (Ind -> Prop) -> Prop ; + Past : Prop -> Prop ; +} |
