mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-09 04:59:31 -06:00
13 lines
172 B
Plaintext
13 lines
172 B
Plaintext
abstract varpatt = {
|
|
|
|
-- this should raise error
|
|
-- we cannot pattern match on functions
|
|
|
|
cat D ;
|
|
fun D1 : D ;
|
|
D2 : D ;
|
|
|
|
fun d : D -> Int ;
|
|
def d x = 1 ;
|
|
|
|
} |