Couldn't import Data.Packed.Matrix

200 Views Asked by At

This is my package.yaml:

   dependencies:
      - base >= 4.7 && < 5
      - hmatrix
      - vector

my imports:

import Prelude hiding ( (<>) )

import Numeric.LinearAlgebra
import **Data.Packed.Matrix**
import qualified Data.Vector as V

I would like to import Data.Packed.Matrix to use the @@> accessor, GHC is complaining: Could not find module `Data.Packed.Matrix'

I googled with no success, probably I must be doing a stupid error. Data.Packed.Matrix is referred in the hmatrix package a simple import should be enough.

0

There are 0 best solutions below