diff --git a/blas-ffi.cabal b/blas-ffi.cabal
--- a/blas-ffi.cabal
+++ b/blas-ffi.cabal
@@ -1,5 +1,5 @@
 Name:             blas-ffi
-Version:          0.0.1.1
+Version:          0.0.2
 License:          BSD3
 License-File:     LICENSE
 Author:           Henning Thielemann <haskell@henning-thielemann.de>
@@ -21,8 +21,12 @@
 Cabal-Version:    1.14
 Build-Type:       Simple
 
+Flag buildExamples
+  description: Build example executables
+  default:     False
+
 Source-Repository this
-  Tag:         0.0.1.1
+  Tag:         0.0.2
   Type:        darcs
   Location:    http://hub.darcs.net/thielema/blas-ffi/
 
@@ -48,3 +52,16 @@
     Numeric.BLAS.FFI.Complex
     Numeric.BLAS.FFI.Generic
     Numeric.BLAS.FFI.Miscellaneous
+
+Executable blas-demo
+  If flag(buildExamples)
+    Build-Depends:
+      storable-complex >=0.2.2 && <0.3,
+      blas-ffi,
+      base
+  Else
+    Buildable: False
+
+  Main-Is:          demo/Main.hs
+  GHC-Options:      -Wall
+  Default-Language: Haskell98
diff --git a/demo/Main.hs b/demo/Main.hs
new file mode 100644
--- /dev/null
+++ b/demo/Main.hs
@@ -0,0 +1,10 @@
+module Main where
+
+import qualified Numeric.BLAS.FFI.ComplexFloat as BlasComplexFloat
+import qualified Foreign
+import Foreign.Storable.Complex ()
+import Data.Complex (Complex((:+)))
+
+
+main :: IO ()
+main = print =<< Foreign.with (2:+3) BlasComplexFloat.cabs1
