summaryrefslogtreecommitdiff
path: root/packages/base/src/Data/Packed/Internal/Signatures.hs
diff options
context:
space:
mode:
Diffstat (limited to 'packages/base/src/Data/Packed/Internal/Signatures.hs')
-rw-r--r--packages/base/src/Data/Packed/Internal/Signatures.hs84
1 files changed, 0 insertions, 84 deletions
diff --git a/packages/base/src/Data/Packed/Internal/Signatures.hs b/packages/base/src/Data/Packed/Internal/Signatures.hs
deleted file mode 100644
index e1b3d5e..0000000
--- a/packages/base/src/Data/Packed/Internal/Signatures.hs
+++ /dev/null
@@ -1,84 +0,0 @@
1{-# LANGUAGE TypeOperators #-}
2
3-- |
4-- Module : Data.Packed.Internal.Signatures
5-- Copyright : (c) Alberto Ruiz 2009-15
6-- License : BSD3
7-- Maintainer : Alberto Ruiz
8-- Stability : provisional
9--
10-- Signatures of the C functions.
11--
12
13
14module Data.Packed.Internal.Signatures where
15
16import Foreign.Ptr(Ptr)
17import Data.Complex(Complex)
18import Foreign.C.Types(CInt)
19
20type PF = Ptr Float --
21type PD = Ptr Double --
22type PQ = Ptr (Complex Float) --
23type PC = Ptr (Complex Double) --
24type TF = CInt -> PF -> IO CInt --
25type TFF = CInt -> PF -> TF --
26type TFV = CInt -> PF -> TV --
27type TVF = CInt -> PD -> TF --
28type TFFF = CInt -> PF -> TFF --
29type TV = CInt -> PD -> IO CInt --
30type TVV = CInt -> PD -> TV --
31type TVVV = CInt -> PD -> TVV --
32type TFM = CInt -> CInt -> PF -> IO CInt --
33type TFMFM = CInt -> CInt -> PF -> TFM --
34type TFMFMFM = CInt -> CInt -> PF -> TFMFM --
35type TM = CInt -> CInt -> PD -> IO CInt --
36type TMM = CInt -> CInt -> PD -> TM --
37type TVMM = CInt -> PD -> TMM --
38type TMVMM = CInt -> CInt -> PD -> TVMM --
39type TMMM = CInt -> CInt -> PD -> TMM --
40type TVM = CInt -> PD -> TM --
41type TVVM = CInt -> PD -> TVM --
42type TMV = CInt -> CInt -> PD -> TV --
43type TMMV = CInt -> CInt -> PD -> TMV --
44type TMVM = CInt -> CInt -> PD -> TVM --
45type TMMVM = CInt -> CInt -> PD -> TMVM --
46type TCM = CInt -> CInt -> PC -> IO CInt --
47type TCVCM = CInt -> PC -> TCM --
48type TCMCVCM = CInt -> CInt -> PC -> TCVCM --
49type TMCMCVCM = CInt -> CInt -> PD -> TCMCVCM --
50type TCMCMCVCM = CInt -> CInt -> PC -> TCMCVCM --
51type TCMCM = CInt -> CInt -> PC -> TCM --
52type TVCM = CInt -> PD -> TCM --
53type TCMVCM = CInt -> CInt -> PC -> TVCM --
54type TCMCMVCM = CInt -> CInt -> PC -> TCMVCM --
55type TCMCMCM = CInt -> CInt -> PC -> TCMCM --
56type TCV = CInt -> PC -> IO CInt --
57type TCVCV = CInt -> PC -> TCV --
58type TCVCVCV = CInt -> PC -> TCVCV --
59type TCVV = CInt -> PC -> TV --
60type TQV = CInt -> PQ -> IO CInt --
61type TQVQV = CInt -> PQ -> TQV --
62type TQVQVQV = CInt -> PQ -> TQVQV --
63type TQVF = CInt -> PQ -> TF --
64type TQM = CInt -> CInt -> PQ -> IO CInt --
65type TQMQM = CInt -> CInt -> PQ -> TQM --
66type TQMQMQM = CInt -> CInt -> PQ -> TQMQM --
67type TCMCV = CInt -> CInt -> PC -> TCV --
68type TVCV = CInt -> PD -> TCV --
69type TCVM = CInt -> PC -> TM --
70type TMCVM = CInt -> CInt -> PD -> TCVM --
71type TMMCVM = CInt -> CInt -> PD -> TMCVM --
72
73type CM b r = CInt -> CInt -> Ptr b -> r
74type CV b r = CInt -> Ptr b -> r
75type OM b r = CInt -> CInt -> CInt -> CInt -> Ptr b -> r
76
77type CIdxs r = CV CInt r
78type Ok = IO CInt
79
80infixr 5 :>, ::>, ..>
81type (:>) t r = CV t r
82type (::>) t r = OM t r
83type (..>) t r = CM t r
84