diff --git a/microlens-th.cabal b/microlens-th.cabal
--- a/microlens-th.cabal
+++ b/microlens-th.cabal
@@ -1,5 +1,5 @@
 name:                microlens-th
-version:             0.2.1.2
+version:             0.2.1.3
 synopsis:            Automatic generation of record lenses for microlens
 description:
   This package lets you automatically generate lenses for data types; code was extracted from the lens package, and therefore generated lenses are fully compatible with ones generated by lens (and can be used both from lens and microlens).
@@ -28,13 +28,13 @@
 
 library
   exposed-modules:     Lens.Micro.TH
-  -- other-modules:       
-  -- other-extensions:    
+  -- other-modules:
+  -- other-extensions:
   build-depends:       base >=4.5 && <5
                      , microlens >=0.3.2 && <0.4
                      , containers >=0.4.0 && <0.6
                      -- lens has >=2.4, but GHC 7.4 shipped with 2.7
-                     , template-haskell >=2.7 && <2.11
+                     , template-haskell >=2.7 && <2.12
 
   if flag(inlining)
     cpp-options: -DINLINING
diff --git a/src/Lens/Micro/TH.hs b/src/Lens/Micro/TH.hs
--- a/src/Lens/Micro/TH.hs
+++ b/src/Lens/Micro/TH.hs
@@ -209,10 +209,10 @@
 
 @
 x :: 'Lens'' Foo Int
-x f foo = (\\x' -> f {_x = x'}) '<$>' f (_x foo)
+x f foo = (\\x' -> foo {_x = x'}) '<$>' f (_x foo)
 
 y :: 'Lens'' Foo Bool
-y f foo = (\\y' -> f {_y = y'}) '<$>' f (_y foo)
+y f foo = (\\y' -> foo {_y = y'}) '<$>' f (_y foo)
 @
 
 (If you don't want a lens to be generated for some field, don't prefix it with “_”.)
