Franklin Schrans
Franklin Schrans
A (really) small library for animating stylized text in Swift (works with most fonts) :surfer:
i.e. store four 64-bit integers in a single storage slot Solidity documentation: https://solidity.readthedocs.io/en/develop/miscellaneous.html#layout-of-state-variables-in-storage
``` contract X { let name: String = "Contract X" // warn: name was never used } ```
Currently, an if-else block cannot have an early return in either body. ``` if ... { return } else { } // more code ```
``` trait Asset { associatedtype RawType } ``` or ``` trait NumericAsset { associatedtype RawType: Numeric & Comparable } ```
## Transferring an asset The contents of an asset can be transferred to another asset like so: ``` // Transfer the contents of b into a, clearing b. a.transfer(from: &b)...
``` func send(destination: Address, asset: T) {} ```