Skip to content
  • Edward Z. Yang's avatar
    Refactor Backpack data structures to be less flexible. · 28af355b
    Edward Z. Yang authored and Edward Z. Yang's avatar Edward Z. Yang committed
    
    
    There were a number of fields in 'LinkedComponent' which
    were "too" flexible, in that they were fully determined by
    other fields in the structure.  This refactor deletes those
    fields and replaces them with functions that refer to the
    fields directly.
    
    I also introduce a new type, ComponentInclude, to take
    the place of tuples which were used to represent includes
    (mixins) in Backpack.
    
    There's also more documentation for lots of bits.
    
    Signed-off-by: default avatarEdward Z. Yang <ezyang@cs.stanford.edu>
    28af355b