references 0.3.2.1 → 0.3.2.2
raw patch · 2 files changed
+2/−2 lines, 2 files
Files
Control/Reference/Predefined/Containers.hs view
@@ -37,7 +37,7 @@ at n (_:xs) = at (n-1) xs upd :: Monad w => (a -> w a) -> [a] -> w [a] - upd f ls = let (before,rest) = splitAt i ls + upd f ls = let (before,rest) = Prelude.splitAt i ls in case rest of [] -> return before (x:xs) -> f x >>= \fx -> return $ before ++ fx : xs
references.cabal view
@@ -1,5 +1,5 @@ name: references -version: 0.3.2.1 +version: 0.3.2.2 synopsis: Selectors for reading and updating data. description: References are data accessors that can read, write or update the accessed infromation through their context. They are first-class values, can be passed in functions, transformed, combined. References generalize lenses, folds and traversals for haskell (see: < https://hackage.haskell.org/package/lens>).