whamm 0.1.0

A framework for 'Wasm Application Monitoring and Manipulation'
Documentation
# Tuples #

NOTE: This functionality hasn't been fully implemented! More docs to come post-implementation!

[//]: # (Tuples provide a quick and easy way to combine one or more values into a composite value.)

[//]: # ()
[//]: # (```)

[//]: # ((i32, i32) a;)

[//]: # (a = (0, 1);)

[//]: # ()
[//]: # ((bool, i32) b;)

[//]: # (b = (true, 78);)

[//]: # (```)

[//]: # ()
[//]: # (## Member access ##)

[//]: # ()
[//]: # (Tuple elements can be accessed as if they were fields of the tuple value.)

[//]: # (Instead of field names, the elements are named as integer literals, starting with `0`.)

[//]: # ()
[//]: # (```)

[//]: # (// tuple members are accessed with '.' and numbered from 0)

[//]: # ((bool, i32) a;)

[//]: # (a = (true, 1);)

[//]: # ()
[//]: # (bool b;)

[//]: # (b = a.0;    // == true)

[//]: # ()
[//]: # (i32 c;)

[//]: # (c = a.1;    // == 1)

[//]: # ()
[//]: # ((i32, (i32, i32)) d;)

[//]: # (d = (1, (12, 13));)

[//]: # (i32 e;)

[//]: # (e = d.1.0;  // == 12)

[//]: # (```)