Changelog History
Page 1
-
v2.0.2.0 Changes
- Add
Barbies.Bare.WearTwo
type family to support having field-specific newtype wrappers that get applied only to the covered barbie (Lennart Spitzner).
- Add
-
v2.0.1.0 Changes
- Add the
DistributiveB
class (Gergő Érdi).
- Add the
-
v2.0.0.0 Changes
- Builds with ghc 8.8, but drops support for ghc 8.0 and 8.2
- Fix failure to derive
TraversableB
andConstraintsB
when using a type parameter not under the functor argument. - Fix failure to derive instances for types with arguments of kind
k -> Type
. - Fix failure to derive instances where functor arg is applied under a functor.
- Derive instances for nested barbies occurring under two functors (Matthew Peddie).
- Add
foldMapC
andbzipWithxC
(Matthew Peddie). - Create a
Barbies
module, to contain wrappers, basic docs, etc.Data.Functor.Barbie
contains only functor-related stuff. - Replace
ProductB
byApplicativeB
, with more lax laws. Now we can derive more instances than before, since arbitrary monoids are allowed as fields of the record. - Add
Data.Functor.Transformer
, operations for bi-barbies, including support for nesting. - Add a
ErrorContainer
wrapper, similar toContainer
but forEither e
. - Remove
ProductBC
, sincebdicts
can now be defined in terms ofApplicativeB
andConstraintsB
. - Remove functions deprecated on release 1.0
- Deprecate
Data.Functor.Prod
,(/*)
and(/*/)
. - Deprecate
Data.Barbie
, in favor ofData.Functor.Barbie
. - Deprecate
Data.Barbie.Bare
, in favor ofBarbies.Bare
. - Deprecate
Data.Barbie.Constraints
, in favor ofBarbies.Constraints
.
-
v1.1.3.0 Changes
July 06, 2019Wear
will raise aTypeError
instead of getting stuck (Alex Peitsinis).
-
v1.1.2.1 Changes
- Uploaded 1.1.2.0 was broken (missing
btraverseC
)
- Uploaded 1.1.2.0 was broken (missing
-
v1.1.2.0 Changes
March 31, 2019- Add
traverseC
(Ole Krüger). - Fix typo in ProductB laws (thanks to Ben Radford).
- Add
-
v1.1.1.0 Changes
February 27, 2019- Add
bmapC
(Chris Penner).
- Add
-
v1.1.0.0 Changes
December 19, 2018Make all classes poly-kinded (#7): a barbie can now be any type parameterised by a type
(k -> Type)
. In particular, a (higher-kinded) barbie is a type parameterised by a barbie. Thanks to Ole Krüger.Add instances for functor transformers:
Proxy
,Const
,Product
,Sum
andCompose
(Ole Krüger).
-
v1.0.0.0 Changes
September 29, 2018Replaced
ConstraintsOf
inConstraintsB
byAllB
, which allows constraints to be given ona
instead of onf a
. TheClassF
class lets us specify constraints onf a
by doingAllB (ClassF c f) b
.ConstraintsOf
becomes then a type alias. Credit goes to Csongor Kiss.ConstraintsOf
was ultimately deprecated in favour ofAllBF
, which is shorter and more consistent withAllB
.Renamed
ConstraintsB(adjProof)
toConstraintsB(baddDicts)
.Renamed
ProofB(bproof)
toProductBC(bdicts)
.Changed the way
Wear
works: now wear-types need to have an extra type parameter that controls whether they areBare
orCovered
. This let us remove all the "magic" that was involved, in the sense that one couldn't have instances ofFunctorB
, etc, for wear-types wihtout usingunsafeCoerce
(this was true also for handwritten instances).Added
bsequence'
, a frequent specialisation ofbsequence
.Added
bfoldMap
.Added
buniqC
andbmempty
.Improved the internal instance derivation mechanism. We no longer need
unsafeCoerce
and the code should be in general indistinguishible from hand-written instances (not currently verified).Fixed support for barbie-types that have additional type parameters (#5).
-
v0.1.4.0 Changes
Added
btraverse_
Added the trivial
Void
andUnit
barbies