Wiki

Changes between Version 5 and Version 6 of TypesOverview

Show
Ignore:
Timestamp:
02/02/09 05:20:30 (16 years ago)
Author:
Chuck
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • TypesOverview

    v5 v6  
    4141   * foo* - zero or more objects of type foo 
    4242   * See StreamType 
     43 * Working with types at run-time 
     44   * You can get the type of "x" with "x.getType" 
     45   * You can make instances with a type at run-time 
     46     * t = x.getType 
     47     * obj1 = t() 
     48     * obj2 = t(0, 0) 
    4349 * See also 
    4450   * [http://cobra-language.com/forums/viewtopic.php?f=4&t=291 Discussion on types] 
    4551 
    46 TODO: arrays, passthrough, vari, typetype, how to get the type, local var type inference, greatest common denominator 
     52TODO: arrays, passthrough, vari, typetype, generics, local var type inference, greatest common denominator