Changelog

0.0.4

  • Support for more GHC versions

0.0.3

  • Add bytestring, lazyByteString, shortByteString prisms and ReviewOne/AsOne instances for ByteString (strict, lazy, and short) in Control.One.One

0.0.2

  • Introduce the One f a t data type representing a value with a distinguished head element and a functorial rest
  • Split into two parallel class hierarchies:
    • *OneItem classes (GetterOneItem, HasOneItem, ReviewOneItem, AsOneItem): optics to/from the singleton element of a container
    • *One classes (GetterOne, HasOne, ReviewOne, AsOne): optics to/from the One data type, defined in Control.One.One
  • Add instances for Identity, NonEmpty, [], Text (strict, lazy, short), tuples, and newtypes (First, Last, Dual, Down, Sum, Product, Min, Max, WrappedMonoid, Par1, Solo, Const)
  • Add Bifunctor, Biapply, Biapplicative, Bifoldable, Bitraversable, Bifoldable1, Bitraversable1, Foldable1, and Traversable1 instances for One
  • Add Eq1, Eq2, Ord1, Ord2, Show1, Show2 instances for One
  • Add named optics: identity, nonEmpty, list, text, lazyText, shortText, first', last', dual, down, sum', product', min', max', wrappedMonoid, par1, solo, const', tuple
  • Add bifunctors, text-short, and semigroupoids as dependencies
  • Remove unused comonad dependency

0.0.1

  • This change log starts