diff options
author | Alberto Ruiz <aruiz@um.es> | 2014-06-16 17:57:57 +0200 |
---|---|---|
committer | Alberto Ruiz <aruiz@um.es> | 2014-06-16 17:57:57 +0200 |
commit | 25973e7498af7649c614b6f05c6c3b8cc3f24637 (patch) | |
tree | baaa9dcda69a98523f740824f2d775cdc320ea51 /packages/base/src/Numeric/LinearAlgebra/Static/Internal.hs | |
parent | a0d4c175ac2d3a8f0a0327af96ca5d3dd0f834ea (diff) |
conditional compilation of static interface
Diffstat (limited to 'packages/base/src/Numeric/LinearAlgebra/Static/Internal.hs')
-rw-r--r-- | packages/base/src/Numeric/LinearAlgebra/Static/Internal.hs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/packages/base/src/Numeric/LinearAlgebra/Static/Internal.hs b/packages/base/src/Numeric/LinearAlgebra/Static/Internal.hs index c9641d5..b13c264 100644 --- a/packages/base/src/Numeric/LinearAlgebra/Static/Internal.hs +++ b/packages/base/src/Numeric/LinearAlgebra/Static/Internal.hs | |||
@@ -1,3 +1,5 @@ | |||
1 | #if __GLASGOW_HASKELL__ >= 708 | ||
2 | |||
1 | {-# LANGUAGE DataKinds #-} | 3 | {-# LANGUAGE DataKinds #-} |
2 | {-# LANGUAGE KindSignatures #-} | 4 | {-# LANGUAGE KindSignatures #-} |
3 | {-# LANGUAGE GeneralizedNewtypeDeriving #-} | 5 | {-# LANGUAGE GeneralizedNewtypeDeriving #-} |
@@ -420,3 +422,10 @@ instance KnownNat n => Disp (C n) | |||
420 | putStr "C " >> putStr (tail . dropWhile (/='x') $ su) | 422 | putStr "C " >> putStr (tail . dropWhile (/='x') $ su) |
421 | 423 | ||
422 | -------------------------------------------------------------------------------- | 424 | -------------------------------------------------------------------------------- |
425 | |||
426 | #else | ||
427 | |||
428 | module Numeric.LinearAlgebra.Static.Internal where | ||
429 | |||
430 | #endif | ||
431 | |||