diff options
author | Francesco Mazzoli <f@mazzo.li> | 2016-10-08 10:47:41 +0100 |
---|---|---|
committer | Francesco Mazzoli <f@mazzo.li> | 2016-10-08 10:47:41 +0100 |
commit | 4d486ffa70086a2909eeb558c6912159fb8b9437 (patch) | |
tree | da032dc1e320350ce8e93445f6b8d9e032cccc1a /packages/base/src/Numeric/LinearAlgebra/Devel.hs | |
parent | 58205ccd5bd4daa0e0098fcd43fde9b82765151f (diff) |
Remove unsafe `Internal.Foreign`.
See #199 for details. The API exported by `Internal.Foreign` was
inherently unsafe.
Diffstat (limited to 'packages/base/src/Numeric/LinearAlgebra/Devel.hs')
-rw-r--r-- | packages/base/src/Numeric/LinearAlgebra/Devel.hs | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/packages/base/src/Numeric/LinearAlgebra/Devel.hs b/packages/base/src/Numeric/LinearAlgebra/Devel.hs index 57a68e7..941b597 100644 --- a/packages/base/src/Numeric/LinearAlgebra/Devel.hs +++ b/packages/base/src/Numeric/LinearAlgebra/Devel.hs | |||
@@ -12,13 +12,6 @@ The library can be easily extended using the tools in this module. | |||
12 | -------------------------------------------------------------------------------- | 12 | -------------------------------------------------------------------------------- |
13 | 13 | ||
14 | module Numeric.LinearAlgebra.Devel( | 14 | module Numeric.LinearAlgebra.Devel( |
15 | -- * FFI helpers | ||
16 | -- | Sample usage, to upload a perspective matrix to a shader. | ||
17 | -- | ||
18 | -- @ glUniformMatrix4fv 0 1 (fromIntegral gl_TRUE) \`appMatrix\` perspective 0.01 100 (pi\/2) (4\/3) | ||
19 | -- @ | ||
20 | module Internal.Foreign, | ||
21 | |||
22 | -- * FFI tools | 15 | -- * FFI tools |
23 | -- | See @examples/devel@ in the repository. | 16 | -- | See @examples/devel@ in the repository. |
24 | 17 | ||
@@ -66,7 +59,6 @@ module Numeric.LinearAlgebra.Devel( | |||
66 | 59 | ||
67 | ) where | 60 | ) where |
68 | 61 | ||
69 | import Internal.Foreign | ||
70 | import Internal.Devel | 62 | import Internal.Devel |
71 | import Internal.ST | 63 | import Internal.ST |
72 | import Internal.Vector | 64 | import Internal.Vector |