forked from GitHub/gf-core
"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