summaryrefslogtreecommitdiff
path: root/examples/nq/closures.sin
AgeCommit message (Collapse)AuthorLines
2020-01-11Added int width specifiersTom Harley-1/+3
The width of an int can be specified at the site of its creation. For example, the following function returns an int of width 2 bits and value 1: [def two_bit_int [] (2 1)] Ints can still be written the old way; in these cases the compiler looks for a default int bit-width (specified with the -w flag). If a default has not been defined, the compiler throws an error.
2020-01-08I should commit moreTom Harley-0/+47