diff --git a/learn-physics.cabal b/learn-physics.cabal
--- a/learn-physics.cabal
+++ b/learn-physics.cabal
@@ -1,5 +1,5 @@
 Name:                learn-physics
-Version:             0.6.5
+Version:             0.6.6
 Synopsis:            Haskell code for learning physics
 Description:         A library of functions for vector calculus,
                      calculation of electric field, electric flux,
@@ -11,7 +11,7 @@
 Maintainer:          Scott N. Walck <walck@lvc.edu>
 Category:            Physics
 Build-type:          Simple
-Cabal-version:       >=1.8
+Cabal-version:       >=1.10
 Library
   Exposed-modules:     Physics.Learn
                        Physics.Learn.BeamStack
@@ -39,13 +39,14 @@
                        Physics.Learn.Visual.VisTools
                        Physics.Learn.Volume
   Build-depends:       base >= 4.7 && < 5,
-                       vector-space >= 0.8.4,
-                       hmatrix >= 0.17,
-                       gloss >= 1.8,
-                       gnuplot >= 0.5,
-                       not-gloss >= 0.5.0.4,
-                       spatial-math >= 0.2
+                       gloss >= 1.8 && < 1.14,
+                       gnuplot >= 0.5 && < 0.6,
+                       hmatrix >= 0.17 && < 0.21,
+                       Vis >= 0.7.7 && < 0.8,
+                       SpatialMath >= 0.2.7 && < 0.3,
+                       vector-space >= 0.8.4 && < 0.17
   Hs-source-dirs:      src
+  default-language: Haskell2010
 
 Source-repository head
   type:                git
@@ -53,48 +54,56 @@
 
 Executable           learn-physics-PlaneWave
   Main-is:           examples/src/PlaneWave.hs
-  Build-depends:     not-gloss >= 0.7.4,
+  Build-depends:     Vis >= 0.7.7 && < 0.8,
                      base >= 4.5 && < 5,
                      learn-physics
+  default-language: Haskell2010
 
 Executable           learn-physics-eFieldLine3D
   Main-is:           examples/src/eFieldLine3D.hs
-  Build-depends:     not-gloss >= 0.7.4,
+  Build-depends:     Vis >= 0.7.7 && < 0.8,
                      base >= 4.5 && < 5,
                      learn-physics
+  default-language: Haskell2010
 
 Executable           learn-physics-LorentzForceSimulation
   Main-is:           examples/src/LorentzForceSimulation.hs
-  Build-depends:     not-gloss >= 0.7.4,
-                     spatial-math >= 0.2,
+  Build-depends:     Vis >= 0.7.7 && < 0.8,
                      base >= 4.5 && < 5,
+                     SpatialMath >= 0.2.7 && < 0.3,
                      learn-physics
+  default-language: Haskell2010
 
 Executable           learn-physics-BCircularLoop
   Main-is:           examples/src/BCircularLoop.hs
-  Build-depends:     not-gloss >= 0.7.4,
+  Build-depends:     Vis >= 0.7.7 && < 0.8,
                      base >= 4.5 && < 5,
                      learn-physics
+  default-language: Haskell2010
 
 Executable           learn-physics-sunEarth
   Main-is:           examples/src/sunEarthRK4.hs
-  Build-depends:     gloss >= 1.8,
+  Build-depends:     gloss >= 1.8 && < 1.14,
                      base >= 4.5 && < 5,
                      learn-physics
+  default-language: Haskell2010
 
 Executable           learn-physics-eFieldLine2D
   Main-is:           examples/src/eFieldLine2D.hs
-  Build-depends:     gloss >= 1.8,
+  Build-depends:     gloss >= 1.8 && < 1.14,
                      base >= 4.5 && < 5,
                      learn-physics
+  default-language: Haskell2010
 
 Executable           learn-physics-Projectile
   Main-is:           examples/src/Projectile.hs
-  Build-depends:     gnuplot >= 0.5,
+  Build-depends:     gnuplot >= 0.5 && < 0.6,
                      base >= 4.5 && < 5,
                      learn-physics
+  default-language: Haskell2010
 
 Executable           learn-physics-NMR
   Main-is:           examples/src/NMR.hs
   Build-depends:     base >= 4.5,
                      learn-physics
+  default-language: Haskell2010
