Mon, 09 Nov 2026 06:13:55 UTC Log in
Monads for free 378.07 KB built 2026-10-14 00:21:16 GMT

Description

Free monads are useful for many tree-like structures and domain specific languages. If 'f' is a 'Functor' then the free 'Monad' on 'f' is the type of trees whose nodes are labeled with the constructors of 'f'. The word "free" is used in the sense of "unrestricted" rather than "zero-cost": 'Free f' makes no constraining assumptions beyond those given by 'f' and the definition of 'Monad'. As used here it is a standard term from the mathematical theory of adjoint functors. Cofree comonads are dual to free monads. They provide convenient ways to talk about branching streams and rose-trees, and can be used to annotate syntax trees. The cofree comonad can be seen as a stream parameterized by a 'Functor' that controls its branching factor. More information on free monads, including examples, can be found in the following blog posts: <https://ekmett.github.io/reader/2008/monads-for-free/> <https://ekmett.github.io/reader/2011/free-monads-for-less/>.

Dependencies

47 total
Requires44
  • libHSStateVar-1.2.2-Ix7fK74pSlg9B6y4NN87Z9-ghc9.10.3.so()(64bit)
  • libHSarray-0.5.8.0-inplace-ghc9.10.3.so()(64bit)
  • libHSassoc-1.1.1-30BCdn01wuCLUYQedFJHQR-ghc9.10.3.so()(64bit)
  • libHSbase-4.20.2.0-inplace-ghc9.10.3.so()(64bit)
  • libHSbase-orphans-0.9.4-7BfHuMWFviR1vB5XQuLgjl-ghc9.10.3.so()(64bit)
  • libHSbifunctors-5.6.3-7WCfw339E5C8BKBzi3kQU4-ghc9.10.3.so()(64bit)
  • libHSbinary-0.8.9.3-inplace-ghc9.10.3.so()(64bit)
  • libHSbytestring-0.12.2.0-inplace-ghc9.10.3.so()(64bit)
  • libHScomonad-5.0.10-GF6Oe2kgyK8JOSIfVLwLHW-ghc9.10.3.so()(64bit)
  • libHScontainers-0.7-inplace-ghc9.10.3.so()(64bit)
  • libHScontravariant-1.5.6-HYDHBqbMES15617fCl7QV8-ghc9.10.3.so()(64bit)
  • libHSdeepseq-1.5.0.0-inplace-ghc9.10.3.so()(64bit)
  • libHSdistributive-0.6.3-DQPaf4vuKFi5nvKi6INTIZ-ghc9.10.3.so()(64bit)
  • libHSexceptions-0.10.9-inplace-ghc9.10.3.so()(64bit)
  • libHSfilepath-1.5.4.0-inplace-ghc9.10.3.so()(64bit)
  • libHSghc-bignum-1.3-inplace-ghc9.10.3.so()(64bit)
  • libHSghc-boot-th-9.10.3-inplace-ghc9.10.3.so()(64bit)
  • libHSghc-internal-9.1003.0-inplace-ghc9.10.3.so()(64bit)
  • libHSghc-prim-0.12.0-inplace-ghc9.10.3.so()(64bit)
  • libHShashable-1.5.1.0-IOVq8g4B58423QXYpDMyNv-ghc9.10.3.so()(64bit)
  • libHSindexed-traversable-0.1.4-HhGzT2d63m8EdLxDIeBOXO-ghc9.10.3.so()(64bit)
  • libHSmtl-2.3.1-inplace-ghc9.10.3.so()(64bit)
  • libHSos-string-2.0.7-inplace-ghc9.10.3.so()(64bit)
  • libHSpretty-1.1.3.6-inplace-ghc9.10.3.so()(64bit)
  • libHSprofunctors-5.6.3-JOfh44z2QLmoExvrGIhU8-ghc9.10.3.so()(64bit)
  • libHSsemigroupoids-6.0.2-DCahbQIetib6vIZGx80rul-ghc9.10.3.so()(64bit)
  • libHSstm-2.5.3.1-inplace-ghc9.10.3.so()(64bit)
  • libHStagged-0.8.9-EraSdp0lx7uJnqESyrqLTP-ghc9.10.3.so()(64bit)
  • libHStemplate-haskell-2.22.0.0-inplace-ghc9.10.3.so()(64bit)
  • libHStext-2.1.3-inplace-ghc9.10.3.so()(64bit)
  • libHSth-abstraction-0.7.2.0-HPv2KLw6EHiLyT9CKbQOH5-ghc9.10.3.so()(64bit)
  • libHStransformers-0.6.1.1-inplace-ghc9.10.3.so()(64bit)
  • libHStransformers-base-0.4.6-HjcpYmHyxfnGVgByFzJFLm-ghc9.10.3.so()(64bit)
  • libHStransformers-compat-0.7.2-Ae7ETlFaZlOK8cn61TY4Ft-ghc9.10.3.so()(64bit)
  • libHSunordered-containers-0.2.20.1-L6NxKsF2RqAJYXFlD8aPdL-ghc9.10.3.so()(64bit)
  • libc.so.6()(64bit)
  • libc.so.6(GLIBC_2.27)(64bit)
  • libgmp.so.10()(64bit)
  • libm.so.6()(64bit)
  • rpmlib(CompressedFileNames) <= 3.0.4-1
  • rpmlib(FileDigests) <= 4.6.0-1
  • rpmlib(PayloadFilesHavePrefix) <= 4.0-1
  • rpmlib(PayloadIsZstd) <= 5.4.18-1
  • rtld(GNU_HASH)
Provides3
  • ghc-free = 5.2-9.fc45
  • ghc-free(riscv-64) = 5.2-9.fc45
  • libHSfree-5.2-CqTuG8ht8NE7nymjArElP-ghc9.10.3.so()(64bit)
ObsoletesNo Obsoletes
ConflictsNo Conflicts
RecommendsNo Recommends
SuggestsNo Suggests
SupplementsNo Supplements
EnhancesNo Enhances

Files

3
Files 1–3 of 3

Component of

buildroots that installed this RPM
Buildroot descending sort Created State
f45-build-52931-913 2026-10-29 19:23:17 expired
f45-build-10495-418 2026-10-14 00:55:15 expired
f45-build-10489-418 2026-10-14 00:55:11 expired
f45-build-10470-418 2026-10-14 00:55:08 expired
Buildroots 1–4 of 4