https://samuelstevens.me/writing/matrix-type-checking
Can we use static type checking to make sure matrix multiplication works?
type checkingmatrixdimensions
https://github.com/typefox/typir
Typir is an open source library for type checking in the web - TypeFox/typir
open sourcegithublibrary