1
0
forked from GitHub/gf-core

some work on evaluation with abstract expressions in PGF

This commit is contained in:
krasimir
2009-05-22 18:54:51 +00:00
parent f29bdd762e
commit f9c877eec6
32 changed files with 207 additions and 154 deletions

View File

@@ -0,0 +1,5 @@
abstract ArrityCheck = {
fun f : Int -> Int -> Int ;
def f 0 = \x -> x ;
f 1 1 = 0 ;
}

View File

@@ -0,0 +1 @@
i testsuite\update\ArrityCheck.gf

View File

@@ -0,0 +1,8 @@
C:\gf_2\testsuite\update\ArrityCheck.gf:6:1: cannot unify the informations
fun f : Int -> Int -> Int ;