Home My Page Projects Code Snippets Project Openings diderot
Summary Activity Tracker Tasks SCM

SCM Repository

[diderot] Diff of /branches/pure-cfg/src/compiler/high-il/check-high-il.sml
ViewVC logotype

Diff of /branches/pure-cfg/src/compiler/high-il/check-high-il.sml

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1623, Fri Nov 11 21:58:50 2011 UTC revision 1624, Sat Nov 12 16:50:10 2011 UTC
# Line 92  Line 92 
92              | Op.Probe(domTy, rngTy) => (rngTy, [Ty.FieldTy, domTy])              | Op.Probe(domTy, rngTy) => (rngTy, [Ty.FieldTy, domTy])
93              | Op.Input(ty, _, _) => (ty, [])              | Op.Input(ty, _, _) => (ty, [])
94              | Op.InputWithDefault(ty, _, _) => (ty, [ty])              | Op.InputWithDefault(ty, _, _) => (ty, [ty])
95              | Op.ToString ty => (Ty.StringTy, [ty])              | Op.Print tys => (Ty.TupleTy[], tys)
             | Op.Print n => (Ty.TupleTy[], List.tabulate(n, fn _ => Ty.StringTy))  
96              | _ => raise Fail("sigOf: invalid operator " ^ Op.toString rator)              | _ => raise Fail("sigOf: invalid operator " ^ Op.toString rator)
97            (* end case *))            (* end case *))
98    

Legend:
Removed from v.1623  
changed lines
  Added in v.1624

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