v0.6.0.0: Better UX + better docs + more tests + new functions
-
#171:
Add custom type errors to various functions and instances.head
,tail
,last
,init
words
,unwords
,lines
,unlines
error
ToText
,ToLText
,ToString
instances for bytestringsFoldable1
instance for ordinary listsMonad
instance forValidation
-
#164:
ReexportShortByteString
,toShort
/fromShort
functions.
(by @vrom911) -
#168,
#197:
Improve documentation significantly (more and better examples, better wording).
(by @chshersh,
@vrom911,
@Cmdv) -
#167:
Rename functions (and deprecate old versions):prec
toprev
dupe
todup
-
#201:
Implement!!?
as a safe equivalent of!!
that returns aMaybe
.
(by @kutyel) -
#203:
Implement theguarded
combinator.
(by @JonathanLorimer) -
#174:
ImplementbimapBoth
inRelude.Extra.Tuple
module,
markmapBoth
as DEPRECATED.
(by @astynax) -
#221:
Improve documentation for theValidation
module significantly.
(by @chshersh) -
#176:
Implement property-based tests forValidation
laws.
(by @astynax) -
#172:
AddMonoid
andSemigroup
instances for theValidation
type.
(by @mauriciofierrom) -
#156:
Implement helper type-level functions inRelude.Extra.Type
.
(by @TheMatten) -
#165:
Re-exportGHC.Float.atan2
.
(by @ethercrow) -
#155:
ImplementfoldlSC
— short-circuting list fold — inRelude.Extra.Foldable
.
(by @josephcsible) -
#148:
Migrate HLint rules to the latest Dhall spec.
(by @vrom911) -
#178:
Madedie
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
, andanyM
in terms of&&^
and||^
- Use
foldr
instead of explicit recursion andtoList
- Use
mapToFst
instead ofzip
to improve list fusion ininverseMap
- Implement
foldMap1
forNonEmpty
in terms offoldr
- Use
$>
instead of*>
andpure
where possible - Implement
asumMap
andfoldMapA
by coercingfoldMap
- Return Failure early in
<*
and*>
too
(by @josephcsible)
- Breaking change: Reorder type parameters to
-
#187:
Removetasty
andtasty-hedgehog
dependencies and their redundant imports.
(by @dalpd)