CRYSTAL_CACHE_DIR=/home/mfiano/.cache/crystal CRYSTAL_PATH=lib:/usr/lib/crystal CRYSTAL_VERSION=1.0.0 CRYSTAL_LIBRARY_PATH='' CRYSTAL_OPTS=''
include Origin::Sharedinto each concrete type instead of once in the Vector mixin.
@typeis expanded for the concrete struct?
Probably not, but is there an existing library for outputting tabulated numbers, particularly floats? I would like to define an
#inspect method for 4x4 matrices so it looks like:
0.123 0.484824 12.434934 93.32459 10.4944 0.43244 343.3434 434.0 23.2384 29.34242 93.22424 0.12525 0.2435 0.533556789 0.645532 0.2434534
1) padding should be auto-inserted such that the whitespace around each column is aligned
2) padding should be auto-inserted such that the decimal points in a column are all aligned.