lens-tutorial 1.0.4 → 1.0.5
raw patch · 3 files changed
+10/−10 lines, 3 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- LICENSE +2/−2
- lens-tutorial.cabal +6/−6
- src/Control/Lens/Tutorial.hs +2/−2
LICENSE view
@@ -1,4 +1,4 @@-Copyright (c) 2015 Gabriel Gonzalez+Copyright (c) 2015 Gabriella Gonzalez All rights reserved. Redistribution and use in source and binary forms, with or without modification,@@ -8,7 +8,7 @@ * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.- * Neither the name of Gabriel Gonzalez nor the names of other contributors+ * Neither the name of Gabriella Gonzalez nor the names of other contributors may be used to endorse or promote products derived from this software without specific prior written permission.
lens-tutorial.cabal view
@@ -1,13 +1,13 @@ Name: lens-tutorial-Version: 1.0.4+Version: 1.0.5 Cabal-Version: >=1.10 Build-Type: Simple License: BSD3 License-File: LICENSE-Copyright: 2015 Gabriel Gonzalez-Author: Gabriel Gonzalez-Maintainer: Gabriel439@gmail.com-Bug-Reports: https://github.com/Gabriel439/Haskell-Lens-Tutorial-Library/issues+Copyright: 2015 Gabriella Gonzalez+Author: Gabriella Gonzalez+Maintainer: GenuineGabriella@gmail.com+Bug-Reports: https://github.com/Gabriella439/Haskell-Lens-Tutorial-Library/issues Synopsis: Tutorial for the lens library Description: This is a basic tutorial that you can use to get started with the @lens@ library. This tutorial covers:@@ -22,7 +22,7 @@ Category: Control Source-Repository head Type: git- Location: https://github.com/Gabriel439/Haskell-Lens-Tutorial-Library+ Location: https://github.com/Gabriella439/Haskell-Lens-Tutorial-Library Library HS-Source-Dirs: src
src/Control/Lens/Tutorial.hs view
@@ -259,8 +259,8 @@ > x :: Lens' Point Double > y :: Lens' Point Double - `makeLenses` creates one lens per field prefixed with an underscore. The- lens has the same name as the field without the underscore.+ For each field prefixed with an underscore, `makeLenses` creates one lens+ which has the same name as the corresponding field without the underscore. However, sometimes Template Haskell is not an option, so we can also use the `lens` utility function to build lenses. This utility has type: