Changelog for profunctors-5.6.3
5.6.3 [2025.06.17]
- Drop support for pre-8.0 versions of GHC.
5.6.2 [2021.02.17]
- Add
SemigroupandMonoidinstances forForget
5.6.1 [2020.12.31]
- Add
Functorinstances forPastroSum,CopastroSum,Environment,FreeMapping,Pastro,Copastro,FreeTraversing, andCoyoneda. - Explicitly mark modules as
Safe.
5.6 [2020.10.01]
- Enable the
PolyKindsextension. The following datatypes now have polymorphic kinds:(:->),Cayley,Procompose,Rift,ProfunctorFunctor,Ran,Codensity,Prep,Coprep,Star,Costar,WrappedArrow,Forget. - Allow building with GHC 9.0.
5.5.2 [2020.02.13]
- Add
Cochoice,Costrong,Closed,Traversing, andMappinginstances forCayley. - Add
MappingandTraversinginstances forTannen.
5.5.1 [2019.11.26]
- Add
Choice,Cochoice,Closed,Strong, andCostronginstances forData.Bifunctor.Sum.
5.5 [2019.09.06]
- Change the type of
roamto make it actually useful. - Add a
Cochoiceinstance forForget.
5.4 [2019.05.10]
- Add
wander-like combinatorroamtoMapping. - Remove illegal
instance Choice (Costar w). - Add
strongcombinator #62. - Only depend on
semigroupsbefore GHC 8.0. - Add
Contravariantinstances forStarandForget.
5.3 [2018.07.02]
-
Generalize the types of
(#.)and(.#). Before, they were:(#.) :: (Profunctor p, Coercible c b) => (b -> c) -> p a b -> p a c (.#) :: (Profunctor p, Coercible b a) => p b c -> (a -> b) -> p a cNow, they are:
(#.) :: (Profunctor p, Coercible c b) => q b c -> p a b -> p a c (.#) :: (Profunctor p, Coercible b a) => p b c -> q a b -> p a c -
Drop support for GHC < 7.8.
-
Add a
Profunctorinstance forData.Bifunctor.Sum.
5.2.2 [2018.01.18]
- Add
Semigroupinstances forClosureandTambara
5.2.1
- Allow
base-orphans-0.6. - Add
Traversinginstance forForget - Add
TraversingandMappinginstances forProcompose - Add
Categoryinstance forStar - Add
mapCayleytoData.Profunctor.Cayley - Add
pastroandunpastrotoData.Profunctor.Strong. - Add
dimapWandering,lmapWandering, andrmapWanderingtoData.Profunctor.Traversing - Add documentation stating the laws for various profunctors.
- Introduce the
Data.Profunctor.Yonedamodule.
5.2
- Renamed
CotambaratoTambaraChoiceandPastrotoPastroChoice. - Added a true
CotambaraandCopastroconstruction for (co)freely generating costrength, along withCotambaraSumandCopastroSumvariants. - Engaged in a fair bit of bikeshedding about the module structure for lesser used modules in this package.
5.1.2
- Added
PrepandCoprepalong with witnesses to the adjunctionsPrep -| Star : [Hask,Hask] -> ProfandCoprep -| Costar : [Hask,Hask]^op -> Prof.
5.1.1
- Add proper support for GHC 7.0+.
5.1
instance Costrong (Cokleisli f).instance Cochoice (Star f).- Changed the instance for
Cochoice (Costar f).
5.0.1
- MINIMAL pragma for
CostrongandCochoice. - More
CostrongandCochoiceinstances.
5.0.0.1
- Documentation fix
5
UpStarandDownStarhave becomeStarandCostar.Staris analogous toKleisli,Costaris analogous toCokleisli.- Split representability into sieves and representability.
- Moved
Data.Profunctor.Collagetosemigroupoids5, and removed thesemigroupoidsdependency. - Rather greatly widened the range of GHC versions we can support.
4.4.1
- Using
SafeHaskell, GHC 7.8+Data.Profunctor.Unsafenow infers asTrustworthyand many more modules now infer asSafe. - We now build warning-free on GHC 7.10.0.20150307
4.4
- Added
Coercibleconstraint to (#.) and (.#) when building with GHC 7.8 Strongis now a superclass ofRepresentable- Updated the URL of the "Arrows are Strong Monads" paper. The old URL is now a dead link.
4.3.2
- Added some missing instances for
UpStarandDownStar.
4.3
- Removed the non law-abiding instance for
Closed (Forget r) ForgetisRepresentable- MINIMAL pragmas
4.2.0.1
- Avoided using 'type' in the export list, as that doesn't work on 7.4.
4.2
- Renamed
-|toProfunctorAdjunctionbecause GHC 7.4 still exists in the wild. - Renamed
-/->to:->for the same reason. Also the former was confusing as they conflated profunctor homomorphisms and profunctors themselves.
4.1
- Flipped the order of 'Procompose'
- Added the notion of Monads and Comonads on the category of profunctors.
- Added 'Cayley' which takes normal Haskell Monads and Comonads to a 'ProfunctorMonad' and 'ProfunctorComonad' respectively. Cayley is also known as the 'static arrow' construction
- Added 'Closed' which is adjoint to 'Strong'.
- Added 'Closure' which freely adjoins 'Closed' to any 'Profunctor'.
- Added 'Tambara' which freely adjoins 'Strong' to any 'Profunctor'.
- Added 'Cotambara' which freely adjoins 'Choice' to any 'Profunctor'.
- Under the new 'Procompose' the old 'Rift' is now 'Ran', and the old 'Lift' was misnamed. It is now 'Rift'
4.0.3
- Added
Data.Profunctor.Liftcontaining the left Kan lift of a profunctor.
4.0.2
- Added
assoctoData.Profunctor.Compositionso that we have all 3 associators.
4.0
- Merged the contents of
profunctor-extrasintoprofunctors.
3.3
- Added
instance Choice (Upstar f)and introducedForget.
3.2
- Renamed
LenticularandPrismatictoStrongandChoice, and restructured them.
3.1.3
- Removed upper bounds on my own intra-package dependencies
3.1.1
- Added Documentation!
- Added
LenticularandPrismaticProfunctors
3.1
- instance Profunctor Tagged
3.0
- Updated version number to match the rest of my libraries