mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-05-04 00:32:51 -06:00
"Committed_by_peb"
This commit is contained in:
21
grammars/ljung/thesis/ErasingAbs.gf
Normal file
21
grammars/ljung/thesis/ErasingAbs.gf
Normal file
@@ -0,0 +1,21 @@
|
||||
|
||||
-- the example 4.1 from Ljunglöf (2004, page 82)
|
||||
|
||||
abstract ErasingAbs = {
|
||||
|
||||
cat S; A; B; C;
|
||||
|
||||
fun
|
||||
|
||||
f : A -> S;
|
||||
|
||||
g : A -> B -> C -> A;
|
||||
|
||||
a : A;
|
||||
|
||||
b : B;
|
||||
|
||||
c : C;
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user