Function default
pub fn default<T: Default>() -> TExpand
Builds a default value for a type implementing the Default trait.
This is a short hack for types with generics, as MyStruct::<A>::default() is
currently not supported by spade.
Examples
let zero: uint<8> = default();
let none: Option<bool> = default();
assert zero == 0;
assert none == None;