./math/hs-bifunctors, Bifunctors

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 5.6.2nb3, Package name: hs-bifunctors-5.6.2nb3, Maintainer: szptvlfn

A bifunctor is a type constructor that takes two type arguments and is
a functor in both arguments. That is, unlike with Functor, a type
constructor such as Either does not need to be partially applied for a
Bifunctor instance, and the methods in this class permit mapping
functions over the Left value or the Right value, or both at the same
time.

Formally, the class Bifunctor represents a bifunctor from Hask ->
Hask.

Intuitively it is a bifunctor where both the first and second
arguments are covariant.

You can define a Bifunctor by either defining bimap or by defining
both first and second.


Required to run:
[devel/hs-tagged] [devel/hs-transformers-compat] [math/hs-semigroups] [devel/hs-base-orphans] [devel/hs-th-abstraction] [math/hs-comonad] [lang/ghc88]

Required to build:
[pkgtools/cwrappers]

Master sites:

Filesize: 37.298 KB

Version history: (Expand)


CVS history: (Expand)


   2025-03-05 04:40:14 by Masatake Daimon | Files touched by this commit (1173)
Log message:
recursive revbump after patching lang/ghc910
   2025-02-02 14:06:08 by Masatake Daimon | Files touched by this commit (1173)
Log message:
Bump all Haskell packages after switching the default compiler.
   2024-05-09 03:32:57 by Masatake Daimon | Files touched by this commit (1137)
Log message:
Recursive revbump after changing the default Haskell compiler
   2024-05-01 09:19:57 by Masatake Daimon | Files touched by this commit (4)
Log message:
math/hs-bifunctors: Update to 5.6.2

5.6.2 [2024.03.19]

    Support building with template-haskell-2.22.* (GHC 9.10).
   2023-11-02 07:37:49 by Masatake Daimon | Files touched by this commit (1141)
Log message:
Revbump all Haskell after updating lang/ghc96
   2023-10-29 10:48:51 by Masatake Daimon | Files touched by this commit (4)
Log message:
math/hs-bifunctors: Update to 5.6.1

The release note is too long to paste here. See
https://hackage.haskell.org/package/bifunctors-5.6.1/changelog
   2023-10-09 06:55:01 by Masatake Daimon | Files touched by this commit (988)
Log message:
Bump Haskell packages after updating lang/ghc94
   2023-01-26 12:16:50 by Masatake Daimon | Files touched by this commit (4)
Log message:
math/hs-bifunctors: Update to 5.5.14

5.5.14 [2022.12.07]
* Define Functor, Foldable, and Traversable instances for Sum and Product.

5.5.13 [2022.09.12]
* Make the Biapplicative instances for tuples lazy, to match their
  Bifunctor instances.