diff --git a/Data/Array/Repa/Operators/IndexSpace.hs b/Data/Array/Repa/Operators/IndexSpace.hs
--- a/Data/Array/Repa/Operators/IndexSpace.hs
+++ b/Data/Array/Repa/Operators/IndexSpace.hs
@@ -147,7 +147,7 @@
 --
 --   For example, to replicate the rows of an array use the following:
 --
---   @extend arr (Any :. (5::Int) :. All)@
+--   @extend (Any :. (5::Int) :. All) arr@
 --
 extend, unsafeExtend
         :: ( Slice sl
diff --git a/repa.cabal b/repa.cabal
--- a/repa.cabal
+++ b/repa.cabal
@@ -1,5 +1,5 @@
 Name:                repa
-Version:             3.4.0.1
+Version:             3.4.0.2
 License:             BSD3
 License-file:        LICENSE
 Author:              The DPH Team
@@ -23,7 +23,7 @@
   Build-Depends: 
         base                 == 4.8.*,
         template-haskell     == 2.10.*,
-        vector               == 0.10.*,
+        vector               == 0.11.*,
         ghc-prim             == 0.4.*,
         bytestring           == 0.10.*,
         QuickCheck           == 2.8.*
