aboutsummaryrefslogtreecommitdiff
path: root/Math/Combinatorics/test.hs
blob: 490594ceefecdee0cc7a17da9ac20a1c2ed5ba19 (plain) (blame)
1
2
3
4
data Matrix a = M [[a]]

instance Show a => Show (Matrix a)
  where show (M xs) = show $ break (==[]) xs