relude v22.214.171.124 Release NotesRelease Date: 2021-03-15 // over 1 year ago
- 📚 Minor documentation changes.
Previous changes from v126.96.36.199
#353: Reexport most common modules from the following libraries:
Now, when using
relude, you don't need to add these libraries to your
.cabalfile to enjoy their main API. Try removing them from your
.cabalfile after upgrading to this version of
reludeto see if you still need them.
To utilise this feature, update the
mixinpart of your package configuration (if you're using the mixins approach) to the following:
mixins: base hiding (Prelude) , relude (Relude as Prelude) , relude
- #345: Support GHC-9.0.
- ⬆️ Upgrade minor GHC versions to GHC-8.10.4 and GHC-8.8.4.
- #268: Drop support of GHC-8.0.2.
inverseMapfunctions that previously were introduced in the
Relude.Enummodule created that is exported in the main
Reludemodule by default.
Migration guide: If you were using any of these functions you can now remove
Relude.Extra.Enumfrom your imports and explicit
mixinssection as they are available for you with the
- ✂ Remove the
Migration guide: If you use
Relude.Extra.Validationin you project you need to:
1. Add `validation-selective` into the `build-depends` section of your `.cabal` file. 2. Change imports of `Relude.Extra.Validation` to `Validation`: ```haskell -- Was: import Relude.Extra.Validation (Validation (..), ..) -- Became: import Validation (Validation (..), ..) ```
infinitelyas more strictly typed
maybeAtfunction — the non-operator version of
!!?with its arguments flipped.
#314: Add lifted versions of functions to work with
#305: Add lifted versions of functions to work with environment:
➕ Add lifted version of the
average1— efficient functions for finding average on foldable structures.
⚡️ Updates to
Thanks @googleson78, @sushi-shi, @rektrex, @aleator, @mjgpy3, @dalpd, 🚀 @Bodigrim for helping with this release!