diff options
author | Alberto Ruiz <aruiz@um.es> | 2014-09-22 18:50:52 +0200 |
---|---|---|
committer | Alberto Ruiz <aruiz@um.es> | 2014-09-22 18:50:52 +0200 |
commit | ff746ea0bd8710fd515f87bc764480e8d613be14 (patch) | |
tree | 21d764b3f1ecd8bc3aa789e6278bf503226abce1 /packages/base/src/Data/Packed | |
parent | 0c3bdccc5f3b91f3f9f100a9b3756c6b19c7f195 (diff) | |
parent | 420cdfe9517a5e5ade85b3ac200bd69543c793b8 (diff) |
Merge pull request #87 from nh2/element-haddock-more-prominent
Make docs of generic `instance Element Foo` more prominent
Diffstat (limited to 'packages/base/src/Data/Packed')
-rw-r--r-- | packages/base/src/Data/Packed/Internal/Matrix.hs | 3 |
1 files changed, 2 insertions, 1 deletions
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 | |||
253 | operations for selected element types. | 253 | operations for selected element types. |
254 | It provides unoptimised defaults for any 'Storable' type, | 254 | It provides unoptimised defaults for any 'Storable' type, |
255 | so you can create instances simply as: | 255 | so you can create instances simply as: |
256 | @instance Element Foo@. | 256 | |
257 | >instance Element Foo | ||
257 | -} | 258 | -} |
258 | class (Storable a) => Element a where | 259 | class (Storable a) => Element a where |
259 | subMatrixD :: (Int,Int) -- ^ (r0,c0) starting position | 260 | subMatrixD :: (Int,Int) -- ^ (r0,c0) starting position |