diff options
Diffstat (limited to 'src/matrix.hs')
| -rw-r--r-- | src/matrix.hs | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/matrix.hs b/src/matrix.hs index c2e6654..38780bb 100644 --- a/src/matrix.hs +++ b/src/matrix.hs @@ -1,10 +1,10 @@ module Matrix where -import Data.List +-- import Data.List -newtype Matrix a = Matrix { getMatrix :: [MatrixRow a] } -type MatrixRow a = [a] +-- newtype Matrix a = Matrix { getMatrix :: [MatrixRow a] } +-- type MatrixRow a = [a] -instance Show a => Show (Matrix a) where - show (Matrix m) = intercalate "\n" (map showLine m) - where showLine l = "[ " ++ intercalate " , " (map show l) ++ " ]" +-- instance Show a => Show (Matrix a) where +-- show (Matrix m) = intercalate "\n" (map showLine m) +-- where showLine l = "[ " ++ intercalate " , " (map show l) ++ " ]" |
