diff options
| author | john.j.camilleri <john.j.camilleri@chalmers.se> | 2013-09-16 07:17:27 +0000 |
|---|---|---|
| committer | john.j.camilleri <john.j.camilleri@chalmers.se> | 2013-09-16 07:17:27 +0000 |
| commit | f5461eb3d4eb2605b546a4ed202c12bcdaa1f4e4 (patch) | |
| tree | 946c9e8542b8e8271b6b529a95c0400fa6613cb4 /examples/category-theory/InitialAndTerminal.gf | |
| parent | 8e1c6cca407c82fc09569d80c231b8d256735989 (diff) | |
Remove contribs and examples
Everything has now been moved to a separate repository at
https://github.com/GrammaticalFramework/gf-contrib
The contents of the examples folder are build during SetupWeb
Diffstat (limited to 'examples/category-theory/InitialAndTerminal.gf')
| -rw-r--r-- | examples/category-theory/InitialAndTerminal.gf | 46 |
1 files changed, 0 insertions, 46 deletions
diff --git a/examples/category-theory/InitialAndTerminal.gf b/examples/category-theory/InitialAndTerminal.gf deleted file mode 100644 index b8a9f00c9..000000000 --- a/examples/category-theory/InitialAndTerminal.gf +++ /dev/null @@ -1,46 +0,0 @@ -abstract InitialAndTerminal = Morphisms ** {
-
-cat Initial ({c} : Category) (Obj c) ;
-data initial : ({c} : Category)
- -> (x : Obj c)
- -> ((y : Obj c) -> Arrow x y)
- -> Initial x ;
-
-fun initAr : ({c} : Category)
- -> ({x} : Obj c)
- -> Initial x
- -> (y : Obj c)
- -> Arrow x y ;
--- def initAr {~c} {~x} (initial {c} x f) y = f y ;
-{-
-fun initials2iso : ({c} : Category)
- -> ({x,y} : Obj c)
- -> (ix : Initial x)
- -> (iy : Initial y)
- -> Iso (initAr ix y) (initAr iy x) ;
--}
--- def initials2iso = .. ;
-
-
-cat Terminal ({c} : Category) (Obj c) ;
-data terminal : ({c} : Category)
- -> (y : Obj c)
- -> ((x : Obj c) -> Arrow x y)
- -> Terminal y ;
-
-fun terminalAr : ({c} : Category)
- -> (x : Obj c)
- -> ({y} : Obj c)
- -> Terminal y
- -> Arrow x y ;
--- def terminalAr {c} x {~y} (terminal {~c} y f) = f x ;
-{-
-fun terminals2iso : ({c} : Category)
- -> ({x,y} : Obj c)
- -> (tx : Terminal x)
- -> (ty : Terminal y)
- -> Iso (terminalAr x ty) (terminalAr y tx) ;
- -}
--- def terminals2iso = .. ;
-
-}
|
