![]() | Fun 0.41.5 The programming language that makes You have fun |
Tagged union representing a Fun value. More...
#include <value.h>

Data Fields | |
| ValueType | type |
| union { | |
| int64_t i | |
| double d | |
| char * s | |
| struct Bytecode * fn | |
| struct Array * arr | |
| struct Map * map | |
| }; | |
Tagged union representing a Fun value.
The active field in the anonymous union is determined by ValueType in the type tag. Ownership/RC semantics for complex members (arrays/maps) are defined by the array/map APIs.
| union { ... } |