packages feed

microlens 0.4.11 → 0.4.11.1

raw patch · 4 files changed

+6/−12 lines, 4 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

CHANGELOG.md view
@@ -1,3 +1,7 @@+# 0.4.11.1++* Reverted marking `Lens.Micro.Internal` as `Trustworthy`, see [#122](https://github.com/monadfix/microlens/issues/122).+ # 0.4.11  * Added fixity declarations for `+~` and `-~` (thanks to Francesco Ariis).
microlens.cabal view
@@ -1,5 +1,5 @@ name:                microlens-version:             0.4.11+version:             0.4.11.1 synopsis:            A tiny lens library with no dependencies description:   NOTE: If you're writing an app, you probably want <http://hackage.haskell.org/package/microlens-platform microlens-platform> – it has the most features. <http://hackage.haskell.org/package/microlens microlens> is intended more for library writers who want a tiny lens library (after all, lenses are pretty useful for everything, not just for updating records!).
src/Lens/Micro/Extras.hs view
@@ -1,11 +1,4 @@-{-# LANGUAGE CPP #-}---- Depends on Lens.Micro.Internal marked as 'Trustworthy' or 'Unsafe'-#if __GLASGOW_HASKELL__ >= 708-{-# LANGUAGE Safe #-}-#else {-# LANGUAGE Trustworthy #-}-#endif   {- |
src/Lens/Micro/Internal.hs view
@@ -11,11 +11,8 @@ {-# LANGUAGE ConstraintKinds #-} {-# LANGUAGE ImplicitParams #-} -#if __GLASGOW_HASKELL__ >= 708-{-# LANGUAGE Trustworthy #-}-#else+-- Note: this module is marked 'Unsafe' because it exports (#.), which is essentially 'coerce', and Data.Coerce is marked 'Unsafe' in base. As per <https://github.com/ekmett/lens/issues/661>, this is an issue for 'lens' as well but they have opted for 'Trustworthy' instead. {-# LANGUAGE Unsafe #-}-#endif  {- | Module      :  Lens.Micro.Internal