relude v0.6.0.0 Release Notes

Release Date: 2019-10-30 // over 4 years ago

    #171:
    โž• Add custom type errors to various functions and instances.

    • head, tail, last, init
    • words, unwords, lines, unlines
    • error
    • ToText, ToLText, ToString instances for bytestrings
    • Foldable1 instance for ordinary lists
    • Monad instance for Validation

    (by @vrom911, @chshersh)

    #164:
    โœ… Reexport ShortByteString, toShort/fromShort functions.
    (by @vrom911)

    #182:
    ๐Ÿ‘Œ Support GHC-8.8.1.
    (by @chshersh)

    #168,
    #197:
    ๐Ÿ‘Œ Improve documentation significantly (more and better examples, better wording).
    (by @chshersh,
    @vrom911,
    @Cmdv)

    #177:
    ๐Ÿ‘Œ Improve usage of performance pragmas.
    (by @chshersh)

    #167:
    ๐Ÿ—„ Rename functions (and deprecate old versions):

    • prec to prev
    • dupe to dup

    (by @Cmdv, @chshersh)

    #192:
    Reexport foldMap' from Data.Foldable.
    (by @tfausak)

    #201:
    Implement !!? as a safe equivalent of !! that returns a Maybe.
    (by @kutyel)

    #203:
    Implement the guarded combinator.
    (by @JonathanLorimer)

    #214:
    โž• Add mapMaybeM function.
    (by @vrom911)

    #174:
    Implement bimapBoth in Relude.Extra.Tuple module,
    ๐Ÿ—„ mark mapBoth as DEPRECATED.
    (by @astynax)

    #221:
    ๐Ÿ‘Œ Improve documentation for the Validation module significantly.
    (by @chshersh)

    #176:
    โœ… Implement property-based tests for Validation laws.
    (by @astynax)

    #172:
    โž• Add Monoid and Semigroup instances for the Validation type.
    (by @mauriciofierrom)

    #156:
    Implement helper type-level functions in Relude.Extra.Type.
    (by @TheMatten)

    #170:
    Implement Elem type family.
    (by @kutyel)

    #165:
    Re-export GHC.Float.atan2.
    (by @ethercrow)

    #155:
    Implement foldlSC โ€” short-circuting list fold โ€” in Relude.Extra.Foldable.
    (by @josephcsible)

    #158:
    ๐Ÿ‘Œ Support GHC-8.6.5.
    (by @chshersh)

    #148:
    ๐Ÿ‘• Migrate HLint rules to the latest Dhall spec.
    (by @vrom911)

    #178:
    Made die be polymorphic in its return type.
    (by @ilyakooo0)

    #162,
    #189,
    #190,
    #191,
    #193,
    #194,
    #195:
    ๐Ÿ”จ Various refactorings and code improvements:

    • Breaking change: Reorder type parameters to asumMap
    • Implement andM, orM, allM, and anyM in terms of &&^ and ||^
    • Use foldr instead of explicit recursion and toList
    • Use mapToFst instead of zip to improve list fusion in inverseMap
    • Implement foldMap1 for NonEmpty in terms of foldr
    • Use $> instead of *> and pure where possible
    • Implement asumMap and foldMapA by coercing foldMap
    • Return Failure early in <* and *> too

    (by @josephcsible)

    #187:
    โœ‚ Remove tasty and tasty-hedgehog dependencies and their redundant imports.
    (by @dalpd)