ADT
        aaron-thesis
        arm-eh
        ast-experimental
        cleanup-dtors
        deferred_resn
        demangler
        enum
        forall-pointer-decay
        jacob/cs343-translation
        jenkins-sandbox
        new-ast
        new-ast-unique-expr
        new-env
        no_list
        persistent-indexer
        pthread-emulation
        qualifiedEnum
        resolv-new
        with_gc
      
      
        
          | 
            Last change
 on this file since dbe9b08 was             9c14ae9, checked in by Rob Schluntz <rschlunt@…>, 9 years ago           | 
        
        
          | 
             
add thesis source 
 
           | 
        
        
          
            
              - 
Property                 mode
 set to                 
100644
               
             
           | 
        
        
          | 
            File size:
            267 bytes
           | 
        
      
      
| Rev | Line |   | 
|---|
| [9c14ae9] | 1 | forall(otype T, ttype Params |
 | 
|---|
 | 2 |   { void print(T); void print(Params); })
 | 
|---|
 | 3 | void print(T arg, Params rest) {
 | 
|---|
 | 4 |   print(arg);
 | 
|---|
 | 5 |   print(rest);
 | 
|---|
 | 6 | }
 | 
|---|
 | 7 | void print(const char * x) { printf("%s", x); }
 | 
|---|
 | 8 | void print(int x) { printf("%d", x);  }
 | 
|---|
 | 9 | int main() {
 | 
|---|
 | 10 |   print("x = ", 123, ".");
 | 
|---|
 | 11 | }
 | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.