Skip to content

v0.6.0.0: Better UX + better docs + more tests + new functions

Compare
Choose a tag to compare
@chshersh chshersh released this 30 Oct 20:07
a0e1e3e
  • #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)