diff options
Diffstat (limited to 'packages/base/src/Internal/Devel.hs')
-rw-r--r-- | packages/base/src/Internal/Devel.hs | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/packages/base/src/Internal/Devel.hs b/packages/base/src/Internal/Devel.hs index 4be0afd..710d626 100644 --- a/packages/base/src/Internal/Devel.hs +++ b/packages/base/src/Internal/Devel.hs | |||
@@ -17,7 +17,7 @@ import Foreign.C.Types ( CInt ) | |||
17 | --import Foreign.Storable.Complex () | 17 | --import Foreign.Storable.Complex () |
18 | import Foreign.Ptr(Ptr) | 18 | import Foreign.Ptr(Ptr) |
19 | import Control.Exception as E ( SomeException, catch ) | 19 | import Control.Exception as E ( SomeException, catch ) |
20 | import Internal.Vector(Vector,avec,arrvec) | 20 | import Internal.Vector(Vector,avec) |
21 | import Foreign.Storable(Storable) | 21 | import Foreign.Storable(Storable) |
22 | 22 | ||
23 | -- | postfix function application (@flip ($)@) | 23 | -- | postfix function application (@flip ($)@) |
@@ -83,8 +83,7 @@ class TransArray c | |||
83 | type Elem c | 83 | type Elem c |
84 | apply :: (Trans c b) -> c -> b | 84 | apply :: (Trans c b) -> c -> b |
85 | applyRaw :: (TransRaw c b) -> c -> b | 85 | applyRaw :: (TransRaw c b) -> c -> b |
86 | applyArray :: (Ptr CInt -> Ptr (Elem c) -> b) -> c -> b | 86 | infixl 1 `apply`, `applyRaw` |
87 | infixl 1 `apply`, `applyRaw`, `applyArray` | ||
88 | 87 | ||
89 | instance Storable t => TransArray (Vector t) | 88 | instance Storable t => TransArray (Vector t) |
90 | where | 89 | where |
@@ -95,8 +94,4 @@ instance Storable t => TransArray (Vector t) | |||
95 | {-# INLINE apply #-} | 94 | {-# INLINE apply #-} |
96 | applyRaw = avec | 95 | applyRaw = avec |
97 | {-# INLINE applyRaw #-} | 96 | {-# INLINE applyRaw #-} |
98 | applyArray = arrvec | ||
99 | {-# INLINE applyArray #-} | ||
100 | |||
101 | |||
102 | 97 | ||