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

SCM Repository

[diderot] Diff of /branches/vis15/src/compiler/common/api-types.sml
ViewVC logotype

Diff of /branches/vis15/src/compiler/common/api-types.sml

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

revision 3930, Sun Jun 5 14:13:06 2016 UTC revision 3931, Sun Jun 5 14:13:21 2016 UTC
# Line 22  Line 22 
22    
23      val realTy = TensorTy[]      val realTy = TensorTy[]
24    
   (* is an API type represented as a fixed-size C array? *)  
     fun isCArrayTy (SeqTy(_, SOME _)) = true  
       | isCArrayTy _ = false  
   
25      fun toString IntTy = "int"      fun toString IntTy = "int"
26        | toString BoolTy = "bool"        | toString BoolTy = "bool"
27        | toString (TensorTy[]) = "real"        | toString (TensorTy[]) = "real"

Legend:
Removed from v.3930  
changed lines
  Added in v.3931

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