aboutsummaryrefslogtreecommitdiff
path: root/Math/Combinatorics/test.hs
diff options
context:
space:
mode:
authorJeshiba <baconp@gmail.com>2017-06-23 12:31:56 -0400
committerJeshiba <baconp@gmail.com>2017-06-23 12:31:56 -0400
commit21b4068e2570497b168c6b1038bd499f45ce473e (patch)
tree81259b3b447ef613d3045a892d7d7b487b0eab74 /Math/Combinatorics/test.hs
parentb7095e3e6e703a1bbf1d2d4f4a20f4084d472500 (diff)
added robinsonSchensted and conversion to row words.
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