Home My Page Projects Code Snippets Project Openings SML/NJ
Summary Activity Forums Tracker Lists Tasks Docs Surveys News SCM Files

SCM Repository

[smlnj] Annotation of /tests/trunk/bugs/tests.obsolete/bug1360.3.sml
ViewVC logotype

Annotation of /tests/trunk/bugs/tests.obsolete/bug1360.3.sml

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2071 - (view) (download)
Original Path: tests/trunk/bugs/tests/bug1360.3.sml

1 : dbm 548 (* bug1360.3.sml *)
2 :    
3 :     fun cint i (fs as (fint, _, _, _, _)) = fint i
4 :     fun capp (e1, e2) (fs as (_, fapp, _, _, _)) =
5 :     fapp (e1 fs, e2 fs)
6 :     fun cadd (e1, e2) (fs as (_, _, fadd, _, _)) =
7 :     fadd (e1 fs, e2 fs)
8 :     fun csel (e1, e2, e3) (fs as (_, _, _, fif, _)) =
9 :     fif (e1 fs, e2 fs, e3 fs)
10 :     fun cabs f (fs as (_, _, _, _, fabs)) =
11 :     fabs(f fs)
12 :     fun cembed v (fs as (_, _, _, _, _)) = v
13 :    
14 :     fun cif (e1, e2, e3) fs =
15 :     capp(csel(e1, cabs(fn _ => e2), cabs(fn _ => e3)), cint(123))

root@smlnj-gforge.cs.uchicago.edu
ViewVC Help
Powered by ViewVC 1.0.0