From 420cdfe9517a5e5ade85b3ac200bd69543c793b8 Mon Sep 17 00:00:00 2001 From: Niklas Hambüchen Date: Sun, 21 Sep 2014 20:39:26 +0200 Subject: Make docs of generic `instance Element Foo` more prominent --- packages/base/src/Data/Packed/Internal/Matrix.hs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'packages/base/src') diff --git a/packages/base/src/Data/Packed/Internal/Matrix.hs b/packages/base/src/Data/Packed/Internal/Matrix.hs index 91a9466..150b978 100644 --- a/packages/base/src/Data/Packed/Internal/Matrix.hs +++ b/packages/base/src/Data/Packed/Internal/Matrix.hs @@ -253,7 +253,8 @@ compat m1 m2 = rows m1 == rows m2 && cols m1 == cols m2 operations for selected element types. It provides unoptimised defaults for any 'Storable' type, so you can create instances simply as: - @instance Element Foo@. + + >instance Element Foo -} class (Storable a) => Element a where subMatrixD :: (Int,Int) -- ^ (r0,c0) starting position -- cgit v1.2.3