|
|
|
|
|
by nightski
4390 days ago
|
|
Actually Haskell does have some dependently typed features (and is being extended constantly). The reason it isn't used in that particular package is a mystery, except that a lot of these things are very new and Haskell is an evoloving ecosystem. That particular package simply may not have a release that uses all the latest GHC features. Repa for instance does provide type errors based on dimensionality of matrices. This is a package on Hackage. See http://www.haskell.org/haskellwiki/Numeric_Haskell:_A_Repa_T... |
|
Looking at the linked page, extent isn't a part of a matrix's type signature, so it would be checked dynamically, correct?