[ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
6.7.10 Structures
A structure is a first class data type which holds Scheme values
or C words in fields numbered 0 upwards. A vtable is a structure
that represents a structure type, giving field types and permissions,
and an optional print function for write
etc.
Structures are lower level than records (see section Records). Usually, when you need to represent structured data, you just want to use records. But sometimes you need to implement new kinds of structured data abstractions, and for that purpose structures are useful. Indeed, records in Guile are implemented with structures.
6.7.10.1 Vtables | ||
6.7.10.2 Structure Basics | ||
6.7.10.3 Vtable Contents | ||
6.7.10.4 Meta-Vtables | ||
6.7.10.5 Vtable Example | ||
6.7.10.6 Tail Arrays |
This document was generated on April 20, 2013 using texi2html 5.0.