src/HOLCF/domain/syntax.ML
changeset 5291 5706f0ef1d43
parent 4709 d24168720303
child 5700 491944c2fb12
     1.1 --- a/src/HOLCF/domain/syntax.ML	Mon Aug 10 17:06:02 1998 +0200
     1.2 +++ b/src/HOLCF/domain/syntax.ML	Wed Aug 12 12:17:20 1998 +0200
     1.3 @@ -71,7 +71,7 @@
     1.4  					 (string_of_int m));
     1.5  	fun app s (l,r)   = mk_appl (Constant s) [l,r];
     1.6  	fun case1 n (con,mx,args) = mk_appl (Constant "@case1")
     1.7 -		 [foldl (app "fapp") (c_ast con mx, (mapn (argvar n) 1 args)),
     1.8 +		 [foldl (app "Rep_CFun") (c_ast con mx, (mapn (argvar n) 1 args)),
     1.9  		  expvar n];
    1.10  	fun arg1 n (con,_,args) = if args = [] then expvar n 
    1.11  				  else mk_appl (Constant "LAM ") 
    1.12 @@ -81,8 +81,8 @@
    1.13        (mk_appl (Constant "@case") [Variable "x", foldr'
    1.14  				(fn (c,cs) => mk_appl (Constant"@case2") [c,cs])
    1.15  				 (mapn case1 1 cons')],
    1.16 -       mk_appl (Constant "fapp") [foldl 
    1.17 -				(fn (w,a ) => mk_appl (Constant"fapp" ) [w,a ])
    1.18 +       mk_appl (Constant "Rep_CFun") [foldl 
    1.19 +				(fn (w,a ) => mk_appl (Constant"Rep_CFun" ) [w,a ])
    1.20  				 (Constant (dnam^"_when"),mapn arg1 1 cons'),
    1.21  				 Variable "x"])
    1.22    end;