aboutsummaryrefslogtreecommitdiff
path: root/Math/Combinatorics/test.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Math/Combinatorics/test.hs')
-rw-r--r--Math/Combinatorics/test.hs4
1 files changed, 4 insertions, 0 deletions
diff --git a/Math/Combinatorics/test.hs b/Math/Combinatorics/test.hs
new file mode 100644
index 0000000..490594c
--- /dev/null
+++ b/Math/Combinatorics/test.hs
@@ -0,0 +1,4 @@
+data Matrix a = M [[a]]
+
+instance Show a => Show (Matrix a)
+ where show (M xs) = show $ break (==[]) xs